Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937229AbcLOPWZ (ORCPT ); Thu, 15 Dec 2016 10:22:25 -0500 Received: from smtprelay0211.hostedemail.com ([216.40.44.211]:59785 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933253AbcLOPWX (ORCPT ); Thu, 15 Dec 2016 10:22:23 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::,RULES_HIT:41:355:379:541:599:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2194:2199:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3653:3865:3870:3871:4321:5007:10004:10400:10848:11658:11914:12043:12555:12740:12760:12895:13069:13311:13357:13439:14181:14659:14721:21080:30054:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: coal01_31a7292da5b45 X-Filterd-Recvd-Size: 1700 Message-ID: <1481815339.29291.63.camel@perches.com> Subject: Re: [PATCH 4/8] checkpatch: replace __bitwise__ with __bitwise From: Joe Perches To: "Michael S. Tsirkin" , linux-kernel@vger.kernel.org Cc: Andy Whitcroft Date: Thu, 15 Dec 2016 07:22:19 -0800 In-Reply-To: <1481778865-27667-5-git-send-email-mst@redhat.com> References: <1481778865-27667-1-git-send-email-mst@redhat.com> <1481778865-27667-5-git-send-email-mst@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.1-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 27 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); > }