projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9536099
)
checkpatch: replace __bitwise__ with __bitwise
author
Michael S. Tsirkin
<mst@redhat.com>
Sun, 11 Dec 2016 04:29:58 +0000
(06:29 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 15 Dec 2016 22:13:40 +0000
(
00:13
+0200)
__bitwise__ is an implementation detail now.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
scripts/checkpatch.pl
patch
|
blob
|
blame
|
history
diff --git
a/scripts/checkpatch.pl
b/scripts/checkpatch.pl
index fd3556b2a5d1dfa65cf29241e34a902a23410d1a..982c52ca6473569148dbffb5585a46888149bf48 100755
(executable)
--- 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);
}