public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Andy Whitcroft <apw@canonical.com>, Joe Perches <joe@perches.com>
Subject: [PATCH 4/8] checkpatch: replace __bitwise__ with __bitwise
Date: Thu, 15 Dec 2016 07:15:18 +0200	[thread overview]
Message-ID: <1481778865-27667-5-git-send-email-mst@redhat.com> (raw)
In-Reply-To: <1481778865-27667-1-git-send-email-mst@redhat.com>

__bitwise__ is an implementation detail now.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 scripts/checkpatch.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

  parent reply	other threads:[~2016-12-15  5:16 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15  5:15 [PATCH 0/8] enable endian checks for all sparse builds Michael S. Tsirkin
2016-12-15  5:15 ` [PATCH 1/8] linux/types.h: " Michael S. Tsirkin
2016-12-15  5:15 ` [PATCH 2/8] tools: " Michael S. Tsirkin
2016-12-15  5:15 ` [PATCH 3/8] Documentation/sparse: drop __bitwise__ Michael S. Tsirkin
2016-12-15  5:15 ` Michael S. Tsirkin [this message]
2016-12-15 15:22   ` [PATCH 4/8] checkpatch: replace __bitwise__ with __bitwise Joe Perches
2016-12-15  5:15 ` [PATCH 5/8] linux: drop __bitwise__ everywhere Michael S. Tsirkin
2016-12-15  9:04   ` Stefan Schmidt
2016-12-15 11:51   ` Greg Kroah-Hartman
2016-12-15 17:28   ` Krzysztof Kozlowski
2016-12-15 19:44   ` Lee Duncan
2016-12-19  9:09   ` Luca Coelho
2016-12-15  5:15 ` [PATCH 6/8] Documentation/sparse: drop __CHECK_ENDIAN__ Michael S. Tsirkin
2016-12-15  5:15 ` [PATCH 7/8] fs/logfs: " Michael S. Tsirkin
2016-12-15  5:15 ` [PATCH 8/8] Makefile: drop -D__CHECK_ENDIAN__ from cflags Michael S. Tsirkin
2016-12-15  7:00   ` Marcel Holtmann
2016-12-15  7:57   ` Marc Kleine-Budde
2016-12-15 11:50   ` Greg Kroah-Hartman
2016-12-15 20:15   ` Arend Van Spriel
2016-12-19  9:08   ` Luca Coelho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1481778865-27667-5-git-send-email-mst@redhat.com \
    --to=mst@redhat.com \
    --cc=apw@canonical.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox