summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-12-11 06:29:58 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-12-16 00:13:40 +0200
commit46d832f5e2102cce455672c5a0b8cbe97e27fe42 (patch)
treef35e289c513c56a45822323bfa2336f29ff75e2f /scripts
parent9536099a8ef185abc0497d5e995ce23bd587a96e (diff)
downloadop-kernel-dev-46d832f5e2102cce455672c5a0b8cbe97e27fe42.zip
op-kernel-dev-46d832f5e2102cce455672c5a0b8cbe97e27fe42.tar.gz
checkpatch: replace __bitwise__ with __bitwise
__bitwise__ is an implementation detail now. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index fd3556b..982c52c 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -335,7 +335,7 @@ our $Attribute = qr{
__percpu|
__nocast|
__safe|
- __bitwise__|
+ __bitwise|
__packed__|
__packed2__|
__naked|
@@ -3681,7 +3681,7 @@ sub process {
$line !~ /\btypedef\s+$Type\s*\(\s*\*?$Ident\s*\)\s*\(/ &&
$line !~ /\btypedef\s+$Type\s+$Ident\s*\(/ &&
$line !~ /\b$typeTypedefs\b/ &&
- $line !~ /\b__bitwise(?:__|)\b/) {
+ $line !~ /\b__bitwise\b/) {
WARN("NEW_TYPEDEFS",
"do not add new typedefs\n" . $herecurr);
}
OpenPOWER on IntegriCloud