From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753987AbbFSOyx (ORCPT ); Fri, 19 Jun 2015 10:54:53 -0400 Received: from smtprelay0039.hostedemail.com ([216.40.44.39]:58219 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752292AbbFSOyr (ORCPT ); Fri, 19 Jun 2015 10:54:47 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:152:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2393:2553:2559:2562:3138:3139:3140:3141:3142:3351:3622:3865:3867:3871:3872:3874:4321:5007:6261:7514:7904:10004:10400:10848:11232:11658:11914:12517:12519:12740:13069:13311:13357:13848:13894:21080,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 X-HE-Tag: cream05_61536dc0e5a03 X-Filterd-Recvd-Size: 1493 Message-ID: <1434725667.2689.121.camel@perches.com> Subject: Re: Coding style details (checkpatch) From: Joe Perches To: Krzysztof =?UTF-8?Q?Ha=C5=82asa?= Cc: Frans Klaver , Andy Whitcroft , lkml Date: Fri, 19 Jun 2015 07:54:27 -0700 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2015-06-19 at 12:52 +0200, Krzysztof HaƂasa wrote: > Frans Klaver writes: > > > Ah, right. One might say that this is a false positive, but that's up > > to Joe or Andy I guess. > > > > It may be valid C code, but I think this construction is slightly > > funky to begin with. > > > > Which file is this? > > A new file, not yet sent anywhere. How is the macro used? #define REG8_1(a0) ((const u16[8]){a0, a0 + 1, a0 + 2, a0 + 3}) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/