Skip to content

Commit 46d832f

Browse files
committed
checkpatch: replace __bitwise__ with __bitwise
__bitwise__ is an implementation detail now. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent 9536099 commit 46d832f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/checkpatch.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ sub hash_show_words {
335335
__percpu|
336336
__nocast|
337337
__safe|
338-
__bitwise__|
338+
__bitwise|
339339
__packed__|
340340
__packed2__|
341341
__naked|
@@ -3681,7 +3681,7 @@ sub process {
36813681
$line !~ /\btypedef\s+$Type\s*\(\s*\*?$Ident\s*\)\s*\(/ &&
36823682
$line !~ /\btypedef\s+$Type\s+$Ident\s*\(/ &&
36833683
$line !~ /\b$typeTypedefs\b/ &&
3684-
$line !~ /\b__bitwise(?:__|)\b/) {
3684+
$line !~ /\b__bitwise\b/) {
36853685
WARN("NEW_TYPEDEFS",
36863686
"do not add new typedefs\n" . $herecurr);
36873687
}

0 commit comments

Comments
 (0)