Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1542819

Re: [PATCH 4/8] checkpatch: replace __bitwise__ with __bitwise

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH 4/8] checkpatch: replace __bitwise__ with __bitwise
Date 2016-12-15 16:30 +0100
Message-ID <sOG8O-7rb-13@gated-at.bofh.it> (permalink)
References <sOwCt-1F9-5@gated-at.bofh.it> <sOwCt-1F9-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] enable endian checks for all sparse builds "Michael S. Tsirkin" <mst@redhat.com> - 2016-12-15 06:20 +0100
  [PATCH 3/8] Documentation/sparse: drop __bitwise__ "Michael S. Tsirkin" <mst@redhat.com> - 2016-12-15 06:20 +0100
  [PATCH 4/8] checkpatch: replace __bitwise__ with __bitwise "Michael S. Tsirkin" <mst@redhat.com> - 2016-12-15 06:20 +0100
    Re: [PATCH 4/8] checkpatch: replace __bitwise__ with __bitwise Joe Perches <joe@perches.com> - 2016-12-15 16:30 +0100
  [PATCH 2/8] tools: enable endian checks for all sparse builds "Michael S. Tsirkin" <mst@redhat.com> - 2016-12-15 06:20 +0100
  [PATCH 6/8] Documentation/sparse: drop __CHECK_ENDIAN__ "Michael S. Tsirkin" <mst@redhat.com> - 2016-12-15 06:20 +0100
  [PATCH 5/8] linux: drop __bitwise__ everywhere "Michael S. Tsirkin" <mst@redhat.com> - 2016-12-15 06:20 +0100
    Re: [PATCH 5/8] linux: drop __bitwise__ everywhere Stefan Schmidt <stefan@osg.samsung.com> - 2016-12-15 10:10 +0100
    Re: [PATCH 5/8] linux: drop __bitwise__ everywhere Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-12-15 13:10 +0100
    Re: [PATCH 5/8] linux: drop __bitwise__ everywhere Krzysztof Kozlowski <krzk@kernel.org> - 2016-12-15 18:30 +0100
    Re: [PATCH 5/8] linux: drop __bitwise__ everywhere Lee Duncan <lduncan@suse.com> - 2016-12-15 20:50 +0100
    Re: [PATCH 5/8] linux: drop __bitwise__ everywhere Luca Coelho <luca@coelho.fi> - 2016-12-19 10:20 +0100

csiph-web