diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2016-12-10 23:29:58 -0500 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2016-12-15 17:13:40 -0500 |
| commit | 46d832f5e2102cce455672c5a0b8cbe97e27fe42 (patch) | |
| tree | f35e289c513c56a45822323bfa2336f29ff75e2f /scripts | |
| parent | 9536099a8ef185abc0497d5e995ce23bd587a96e (diff) | |
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-x | scripts/checkpatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index fd3556b2a5d1..982c52ca6473 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -335,7 +335,7 @@ our $Attribute = qr{ | |||
| 335 | __percpu| | 335 | __percpu| |
| 336 | __nocast| | 336 | __nocast| |
| 337 | __safe| | 337 | __safe| |
| 338 | __bitwise__| | 338 | __bitwise| |
| 339 | __packed__| | 339 | __packed__| |
| 340 | __packed2__| | 340 | __packed2__| |
| 341 | __naked| | 341 | __naked| |
| @@ -3681,7 +3681,7 @@ sub process { | |||
| 3681 | $line !~ /\btypedef\s+$Type\s*\(\s*\*?$Ident\s*\)\s*\(/ && | 3681 | $line !~ /\btypedef\s+$Type\s*\(\s*\*?$Ident\s*\)\s*\(/ && |
| 3682 | $line !~ /\btypedef\s+$Type\s+$Ident\s*\(/ && | 3682 | $line !~ /\btypedef\s+$Type\s+$Ident\s*\(/ && |
| 3683 | $line !~ /\b$typeTypedefs\b/ && | 3683 | $line !~ /\b$typeTypedefs\b/ && |
| 3684 | $line !~ /\b__bitwise(?:__|)\b/) { | 3684 | $line !~ /\b__bitwise\b/) { |
| 3685 | WARN("NEW_TYPEDEFS", | 3685 | WARN("NEW_TYPEDEFS", |
| 3686 | "do not add new typedefs\n" . $herecurr); | 3686 | "do not add new typedefs\n" . $herecurr); |
| 3687 | } | 3687 | } |
