Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp297300yba; Sat, 13 Apr 2019 00:59:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzH3vD+29X2Bx2gCa+SeHPkKqN/swFjxhr9gIaVnad1Cm2QjeWaXDKJg3FlmR1JxWcCGZxC X-Received: by 2002:a17:902:e684:: with SMTP id cn4mr60382936plb.71.1555142356916; Sat, 13 Apr 2019 00:59:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555142356; cv=none; d=google.com; s=arc-20160816; b=NuUEEqM2kuxmLibDMfaXK5SRJ3Gr07dnCqdmD16I2RN2zjR1NdogSbh42cuGZ7mLaw lnd19kxmJItzlxZYIw2HZRz2JmIDY9SZX0p30McKYRPGeosx78othfgoX9v26KGA5+d0 kiyspvu2v7cgG0/GJ38hwQWnXY58QlGOD2ULz17T686ub0tFwURhqRyrWoZmYY+2rLHJ 1HkQGKDjVwRKTg4rJfdMkrBhB+U6hdQD7nBpbeOSaXA1pNhLMe7YGrze6tN4hb8rc9rL WauRddz8MJWP8JJoJzhJedXyzAZKn4/VKUxVlKBlunmNX2TEbeZ6al8F6vtssMxPr7Xe lEzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=p/AqnVR+Vsb87Th8ZYvDNx3dpGGRHYsq6x9Tk6ksDmk=; b=mXoDM+Z+J/92S04hUgMZ7ukGP1L1Qg319aTNZozQ4IRyfvyNlH3rDTeSfiu9Lwk4xX mQHz+X+J9lB392l0po6G80l37O1E3WYRLsttaabiz8XzVZsBjBH6YMoIwvJm6DMXZCSS roEZf+EDJTdeCATK4Bv013iLx4kZ+BfJ7QRoREIgEe0mlUAg31kCzfMyySuvMEwgO3RN msaN3s9SCeqijxyouhCumYSZQLnh8tAph1Xq6aB8qPWo2EyE0oZnu3LABxfGiN5+7gD4 6TUViLIzbhBhs/mdNptqb1amGjf3BNvL13QJrdILDTQEesg/jRJRgdU6OGmcqsPWPKIF EPow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p25si40919259pfi.245.2019.04.13.00.59.00; Sat, 13 Apr 2019 00:59:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727130AbfDMH6Q (ORCPT + 99 others); Sat, 13 Apr 2019 03:58:16 -0400 Received: from smtprelay0115.hostedemail.com ([216.40.44.115]:33517 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726207AbfDMH6P (ORCPT ); Sat, 13 Apr 2019 03:58:15 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 5533018224D75; Sat, 13 Apr 2019 07:58:14 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::,RULES_HIT:41:355:379:599:960:966:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2196:2199:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3871:3872:3873:3874:4321:4385:4605:5007:6742:7875:10004:10400:10848:11026:11232:11658:11914:12043:12438:12740:12760:12895:13069:13311:13357:13439:14096:14097:14659:14721:21080:21627:30054:30070:30091,0,RBL:23.242.196.136:@perches.com:.lbl8.mailshell.net-62.8.0.180 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:20,LUA_SUMMARY:none X-HE-Tag: farm08_2a691f63a644d X-Filterd-Recvd-Size: 2143 Received: from XPS-9350 (cpe-23-242-196-136.socal.res.rr.com [23.242.196.136]) (Authenticated sender: joe@perches.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Sat, 13 Apr 2019 07:58:11 +0000 (UTC) Message-ID: <1dd04eada63b51d768d568c9f09e59f6afbe963b.camel@perches.com> Subject: Re: [PATCH 0/4] ARM: imx legacy: cleanups From: Joe Perches To: Nicholas Mc Guire , Russell King Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Mark Brown , Linus Walleij , Tony Lindgren , Mike Rapoport , Janusz Krzysztofik , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Sat, 13 Apr 2019 00:58:10 -0700 In-Reply-To: <1555139666-948-1-git-send-email-hofrat@osadl.org> References: <1555139666-948-1-git-send-email-hofrat@osadl.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2019-04-13 at 09:14 +0200, Nicholas Mc Guire wrote: > While preparing a proposed fix for a missing check on zmalloc a few > other checkpatch warnings poped up - this little set fixes those > warnings. There is one remaining checkpatch warning but that looks > like a false-positive to me: > > ERROR: Use of __initconst requires a separate use of const > #171: FILE: arch/arm/mach-imx/mach-mx27ads.c:171: > +mx27ads_nand_board_info __initconst = { > > The false positive seems due to the definition spanning two lines > anyway looks good to me > > > static const struct mxc_nand_platform_data > mx27ads_nand_board_info __initconst = { > .width = 1, > .hw_ecc = 1, > }; Yeah, it's a false positive. You could use static const __initconst etc... if you really wanted to avoid this but feel free to ignore checkpatch anyway when it's dumb.