From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CDA6C10F14 for ; Sat, 13 Apr 2019 07:21:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74CE620869 for ; Sat, 13 Apr 2019 07:21:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727287AbfDMHVQ (ORCPT ); Sat, 13 Apr 2019 03:21:16 -0400 Received: from www.osadl.org ([62.245.132.105]:36422 "EHLO www.osadl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbfDMHVP (ORCPT ); Sat, 13 Apr 2019 03:21:15 -0400 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 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, Nicholas Mc Guire 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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