From patchwork Sat Apr 13 07:14:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Mc Guire X-Patchwork-Id: 10899327 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8B84F17EF for ; Sat, 13 Apr 2019 07:21:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F78828E89 for ; Sat, 13 Apr 2019 07:21:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 525B428E91; Sat, 13 Apr 2019 07:21:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E264228E89 for ; Sat, 13 Apr 2019 07:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=oACQBsJld4atPc0LEdevTV5cq1KPrL1VYnlf9RIzrKk=; b=c3H rgfLIG1IgtvPXi8Bl5zWVOKokyjwi+1OJAxQG2N1AxTT+wo73MHOIkgVR+ZUwNI3ZI/CfDkaAYLpW X0XYUDHkJLl7mC8roqE8PpYAkwHDsv2OkIzurCJFGs5/HeDOyn5beZuRhN+k17vl6CyfQ0BstTx3o QIbPA204xbqtWEcK/mFekHKaHPD/3FRAmI+wX+vJjgFsWr1GP2VhoymEshA1mZx6fKlL5yS7Fzy/A gM4aPy3POsYn7iEEaaEUc34dc+eWtRqwW5mMIwLyMTN05jrwiVoGuHuRd3FHNdtunkpuHOoEZ9oes 67GmGz2/Ahq3EOIpfjBtEgfdBO72Qgg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hFCyx-0004gQ-1k; Sat, 13 Apr 2019 07:21:47 +0000 Received: from www.osadl.org ([2001:a60:9266:ffff:62:245:132:105]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hFCyD-0003q3-Em for linux-arm-kernel@lists.infradead.org; Sat, 13 Apr 2019 07:21:10 +0000 Received: from debian01.hofrr.at (178.115.242.59.static.drei.at [178.115.242.59]) by www.osadl.org (8.13.8/8.13.8/OSADL-2007092901) with ESMTP id x3D7JfAO003435; Sat, 13 Apr 2019 09:19:41 +0200 From: Nicholas Mc Guire To: Russell King Subject: [PATCH 0/4] ARM: imx legacy: cleanups Date: Sat, 13 Apr 2019 09:14:12 +0200 Message-Id: <1555139666-948-1-git-send-email-hofrat@osadl.org> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190413_002102_330473_D6A23D28 X-CRM114-Status: UNSURE ( 6.16 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mike Rapoport , Tony Lindgren , Shawn Guo , Sascha Hauer , Janusz Krzysztofik , linux-kernel@vger.kernel.org, Mark Brown , NXP Linux Team , Pengutronix Kernel Team , Nicholas Mc Guire , Fabio Estevam , Linus Walleij , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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, }; thx! hofrat