Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752814AbdIEUBZ (ORCPT ); Tue, 5 Sep 2017 16:01:25 -0400 Received: from smtprelay0206.hostedemail.com ([216.40.44.206]:51080 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752459AbdIEUBW (ORCPT ); Tue, 5 Sep 2017 16:01:22 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:800:960:966:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2196:2198:2199:2200:2393:2553:2559:2562:2693:2828:2895:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3874:4184:4321:4385:5007:6119:6248:7576:7903:7904:8527:9010:10004:10400:10848:10967:11232:11658:11914:12043:12296:12740:12760:12895:13069:13095:13132:13161:13229:13231:13311:13357:13439:14096:14097:14180:14181:14659:14721:14777:21060:21063:21080:21324:21433:21451:21627:30029:30054:30055:30069:30070:30083:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:13,LUA_SUMMARY:none X-HE-Tag: sea25_62fce97e1080f X-Filterd-Recvd-Size: 2438 Message-ID: <1504641678.28899.12.camel@perches.com> Subject: Re: [PATCH 6/10] ixgbe: Use ARRAY_SIZE macro From: Joe Perches To: Thomas Meyer , David Miller Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 05 Sep 2017 13:01:18 -0700 In-Reply-To: <20170905194419.pdwrkqdad6tbq7hs@olymp> References: <1504439110050-939061377-0-diffsplit-thomas@m3y3r.de> <1504439110050-1907815276-6-diffsplit-thomas@m3y3r.de> <20170905.115044.551456011251065741.davem@davemloft.net> <20170905194419.pdwrkqdad6tbq7hs@olymp> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.6-1ubuntu1 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: 1480 Lines: 37 On Tue, 2017-09-05 at 21:45 +0200, Thomas Meyer wrote: > On Tue, Sep 05, 2017 at 11:50:44AM -0700, David Miller wrote: > > From: Thomas Meyer > > Date: Sun, 03 Sep 2017 14:19:31 +0200 > > > > > Use ARRAY_SIZE macro, rather than explicitly coding some variant of it > > > yourself. > > > Found with: find -type f -name "*.c" -o -name "*.h" | xargs perl -p -i -e > > > 's/\bsizeof\s*\(\s*(\w+)\s*\)\s*\ /\s*sizeof\s*\(\s*\1\s*\[\s*0\s*\]\s*\) > > > /ARRAY_SIZE(\1)/g' and manual check/verification. > > > > > > Signed-off-by: Thomas Meyer > > > > This should be submitted to the Intel ethernet driver maintainers. > > Hi, > > my script checks the output of get_maintainer scripts and only sends to "open > list" entries. > > The intel-wired-lan@lists.osuosl.org is moderated, so that's why the patch > wasn't send there. > > Strangely the lists for nouveau@lists.freedesktop.org and > intel-gvt-dev@lists.freedesktop.org appears as open lists in the MAINTAINERS > file but seems to be also moderated lists... At least I got some reply that my > message awaits approval. Maybe an update to the MAINTAINERS file is missing > here? > > I may drop above check in my script and send to all mailing lists that > get_maintainer.pl will return. There's a difference between moderated and subscriber-only entries in MAINTAINERS. get_maintainers will by default list moderated lists and not show subscriber-only lists unless using the -s switch.