lkml.org 
[lkml]   [2016]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/8] checkpatch: replace __bitwise__ with __bitwise
From
Date
On Thu, 2016-12-15 at 07:15 +0200, Michael S. Tsirkin wrote:
> __bitwise__ is an implementation detail now.

Assuming the other patches go in, thanks.

> 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);
> }

\
 
 \ /
  Last update: 2016-12-15 16:22    [W:1.106 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site