From patchwork Wed May 31 10:58:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9756633 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A1CE1602BF for ; Wed, 31 May 2017 10:59:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A915281E1 for ; Wed, 31 May 2017 10:59:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F275283C9; Wed, 31 May 2017 10:59:48 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 F1C36281E1 for ; Wed, 31 May 2017 10:59:47 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=+JK0udgDXmuFe0YyMco2HwpXoUNXJ9I+4+4F6/IPfCE=; b=Clv5xDpiLX0jYb hWSBWNdWZE+t0o1WuXpt/piGmmcvvhXopdFJLzjK06C+HFCwEhhDIq9Q4PPNTW/L/U84CtES+7uWg Gri/07m1OhiIKlXCcZJFbEfiKnGKux/2UOQJgVpPO+v5Uu/JmbYdL6d7WMtHpE5YSdJGdcIfKzQ5Y fhB5nkrDGTy1YBdP9jQgcfmsxA6d5by/C9cg7nVq6l8KvK1WzqwJ4oE1/yATIWfpl8qmzh515mo7d rew36Aq9Nx7RnsKKuojPaTNZ4eWyLvstHlwfZRjhgWHya9UzCxMkLyBKaQdcmBpFwS0UeY1x07TKF J8vttxXsgyRDu1fWn4+w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dG1Lv-0002GU-4n; Wed, 31 May 2017 10:59:47 +0000 Received: from mail-bl2nam02on061e.outbound.protection.outlook.com ([2a01:111:f400:fe46::61e] helo=NAM02-BL2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dG1Lj-0001wO-Oj for linux-arm-kernel@lists.infradead.org; Wed, 31 May 2017 10:59:39 +0000 Received: from BN3PR03CA0110.namprd03.prod.outlook.com (10.174.66.28) by CY4PR03MB2568.namprd03.prod.outlook.com (10.173.42.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Wed, 31 May 2017 10:59:13 +0000 Received: from BY2FFO11FD035.protection.gbl (2a01:111:f400:7c0c::134) by BN3PR03CA0110.outlook.office365.com (2603:10b6:400:4::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Wed, 31 May 2017 10:59:12 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD035.mail.protection.outlook.com (10.1.14.220) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1075.5 via Frontend Transport; Wed, 31 May 2017 10:59:12 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.177]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v4VAwtew004429; Wed, 31 May 2017 03:59:00 -0700 From: To: , Subject: [PATCH 01/10] staging: fsl-mc: enclose macro params in parens Date: Wed, 31 May 2017 13:58:43 +0300 Message-ID: <20170531105852.22304-2-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170531105852.22304-1-laurentiu.tudor@nxp.com> References: <20170531105852.22304-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131407019523275352; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39410400002)(39450400003)(39380400002)(39850400002)(39400400002)(39840400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(39060400002)(8656002)(5003940100001)(36756003)(38730400002)(77096006)(54906002)(86152003)(85426001)(2876002)(2906002)(86362001)(498600001)(47776003)(2950100002)(104016004)(5660300001)(356003)(6666003)(189998001)(97736004)(76176999)(7416002)(50986999)(33646002)(1076002)(48376002)(50466002)(53936002)(4326008)(105606002)(106466001)(8676002)(81166006)(50226002)(305945005)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2568; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD035; 1:vYmMwVJ2NWWeid4B4l7saKNx41VEJocm8eFyfpcZn182NOpo/jzvQSf/615uWohC1uI9aUN6fiY6MJwKtiUKL8bk4X27W130vYYH8wF9gSOrHpNu0yDPIClbBDS28vKp4uzPi8+xVBxm8p8hH1Iq8TEhm16GBODldi4GYQRgAcEuvNnREho45p46Ze8XBgjyJ4XPy6XXnszRNUIK9mr3UzTsz0TX8nHenjNJuJfeoahjFRukOIobq691prD/p4FA9QXJyYMz1WVPMVxpI1F1FNRq8hNYOzdtgWHCJGi27zgCUcx89m2y5iwOv2RFPPf/+kkL5xgxJq+7IYLFEgm/GCJAz2JNg6oaeqciEDzi4g76hSKV4Wi7VAJYxqgfLwh7P9dyjXCbUW4ywQ+gi4zMGiquouoyOdoYvKIxg037xQJju4TIW8JI15QVrFms06PzJ5COAQaA7lC+ZOqCwT384C5lntUM6zEc5EwKfir+TXNmqVAs4esnyv0YNB1L44lZ/tcoD25whx/c207OARZW8a/rMQkdhYN48PP8HX+/lD7CE9SeAJunapju0V7oVMTyezLK6ZEtufEVzUOvvIW7koQkaf17gyH8ipScAsX3SgYtMrPRcS5CTy1nThqRSjpqnx02h01XylHcOLxDpGVnqbmTR20IENKAa60e3o2+dBY= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR03MB2568: X-MS-Office365-Filtering-Correlation-Id: a2fa44c7-4fe4-44f3-6f50-08d4a8141211 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:CY4PR03MB2568; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2568; 3:CM2hX+Uuz8mhDJmQkMJZKDkffmhQvVdf4b//zspsgNzLzS0UoSYuySIQ4gUmqj+2gfHMNfUjICKy7S4WFVWNdXORA/SYLwOyHWA4jJkwVZEBwf/7Iqi+d2Wqlc4SO23LQAYw9wFD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Fl99dOgJmq4M/hBzXQaYJZlee2KrloA2CBpfDvuw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(8121501046)(5005006)(13018025)(13016025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123563025)(20161123559100)(20161123565025); SRVR:CY4PR03MB2568; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2568; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2568; 4:zh121oAOjtTgPjKfVBERr8jg+dPN1g8dvV6Gdeg1mQ+aeRUhg/OLWZEumjjJZxnTTw88phVkH3gFKtlkqJITjyzqvv3dtU4nhTiVVxO3SQbiCgzPm6FAnjEFFAvEOGVZ7glw3lLjEu+xWDe9ASxa6vwqFzyzroei51OO+7sFzV1/Iiz+ef7bHzn8Iolery29F6YZGM4rrEHuUsi4bb3k7LrznR7C97dPQ+1ZFyV3MqfZHs1zXaeEddAGBCfKcTYqtoW4EcZURUUf7g7sSOGFv/tnCMDiHgJ5JaIP9YWPbHW6ANDRfPpzFsFjJKSpJzvN/0jNV7NDFWdyJx4WhZsNbf90WFKXLm4gEY7urfu1d1+7pNX1S5BHMjAd65NJkuunzJ655g/hzVI+vjFFOChFIQFk9RtBGemIyzY36kZMzWYCGkep1WVuiGi8ngSRe8+Oj6bfJ7XesFJ2PWqOXZHZHD4Qzd3ciAjq7cQGK9G3Y8s4OVplZErAo5uknVyBAhLqLaSlVsWzpy5XVLDC7pOJVYXDxfUwS+eCPbetJu1YpXqGA+WYXQEPfA9IzlPs9AaXyS7Nl4LafqrVcUEla/jwJ5WvnlDXSxI3kRjOHj2+VG71rgZKn2tPgbGiYzRf0kNsoQK/cbpkUXNw0vsWuGF1r2zL3eOYapGADw4eTG99FNUJ/T6i9IUQFUu4abIvcCUgYutR2y+WRcq5botRF7degby75Ew/v6IeLm3/n0La79z7pvm11K+NqO/uQsQy2PEP0OyyGhhA9CxPKFSeqjeC3Op5/vSZaJ2cV35pg+yXw86Wpl63+kuD2sn+0uYpC4yp+DgNamTXqctHpaBCvcuIWz8fAobbMmQLlLFNE71Owy6IL9nLE/3dbMRiBMZ8DJC4w/MV9dSUeScq0MnOIAHoZQ== X-Forefront-PRVS: 0324C2C0E2 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2568; 23:IgvYHdS6UDcC+2WUOXtLSE4VRgVgkYs1KRJV+YmBr?= =?us-ascii?Q?T2Q086boTTovq6jgFpyUSgerqCc5YKoLMqlh5+RF9q+Sl37J5zWLflenGp5M?= =?us-ascii?Q?GnveFf+HAMK6gK5OC7jUnMJm7eM0dxnQDjvsNQRjX7eo2V8bmmOUB3ZxWfJ8?= =?us-ascii?Q?q+pK7To0Q5awUkeNKuYMOpJZwwcmtwvFJGHuJhhxYRXhIyChuuBL3CL9XhJR?= =?us-ascii?Q?MkprjUENccnP6RZvSPE5YufxVyMnvWVsynZkaCp6+nQThOY05/tHO5y5dgkm?= =?us-ascii?Q?0q9GqesY934dbIxabNBBl4wJX38lMOtXcw4yZMu4LxazbzHed/b1qZUz5Yjg?= =?us-ascii?Q?6kfBmhzq4Gix5qYfTjCKERkQ+JkJIMMHeS9PAdVLXhUuINl6dKgsMlKnrwo8?= =?us-ascii?Q?B/98XtN4sMphN2JRqc1YDk3zRipg9wevmP67lOGIqDCgKBEX8tbjZd/bDB1s?= =?us-ascii?Q?hnqQJHvPhB8gqxa8prSsPY/e5NtfWVwJiG4jnGDxPns3/mX1kRi+bDGltYEb?= =?us-ascii?Q?jnJGpYUzembAbHGMZVitvW+X1mN1G3qmur1jWGkps3MZTkc8w56eQI8J41Jc?= =?us-ascii?Q?ggOJOUz8wGVWb08NdwJQjbqi45bjSIKGb2tyy15EKPsq4mZ3FTG5976YImpd?= =?us-ascii?Q?K79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ginalArrivalTime: 31 May 2017 10:59:12.0155 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2568 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170531_035936_484260_28C238DA X-CRM114-Status: UNSURE ( 8.01 ) 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: devel@driverdev.osuosl.org, arnd@arndb.de, ruxandra.radulescu@nxp.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, agraf@suse.de, catalin.horghidan@nxp.com, ioana.ciornei@nxp.com, leoyang.li@nxp.com, bharat.bhushan@nxp.com, linux-arm-kernel@lists.infradead.org, Laurentiu Tudor 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 From: Laurentiu Tudor Several macros didn't had macro params enclosed in parens. Fix them to avoid precedence issues. Found with checkpatch.pl who was issuing this message: "Macro argument 'id' may be better as '(id)' to avoid precedence issues" Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dpbp-cmd.h | 2 +- drivers/staging/fsl-mc/bus/dpmcp-cmd.h | 2 +- drivers/staging/fsl-mc/bus/dpmng-cmd.h | 2 +- drivers/staging/fsl-mc/bus/dprc-cmd.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpbp-cmd.h b/drivers/staging/fsl-mc/bus/dpbp-cmd.h index 8aa6545..5904836 100644 --- a/drivers/staging/fsl-mc/bus/dpbp-cmd.h +++ b/drivers/staging/fsl-mc/bus/dpbp-cmd.h @@ -40,7 +40,7 @@ #define DPBP_CMD_BASE_VERSION 1 #define DPBP_CMD_ID_OFFSET 4 -#define DPBP_CMD(id) ((id << DPBP_CMD_ID_OFFSET) | DPBP_CMD_BASE_VERSION) +#define DPBP_CMD(id) (((id) << DPBP_CMD_ID_OFFSET) | DPBP_CMD_BASE_VERSION) /* Command IDs */ #define DPBP_CMDID_CLOSE DPBP_CMD(0x800) diff --git a/drivers/staging/fsl-mc/bus/dpmcp-cmd.h b/drivers/staging/fsl-mc/bus/dpmcp-cmd.h index 384a13d..861b2a7 100644 --- a/drivers/staging/fsl-mc/bus/dpmcp-cmd.h +++ b/drivers/staging/fsl-mc/bus/dpmcp-cmd.h @@ -40,7 +40,7 @@ #define DPMCP_CMD_BASE_VERSION 1 #define DPMCP_CMD_ID_OFFSET 4 -#define DPMCP_CMD(id) ((id << DPMCP_CMD_ID_OFFSET) | DPMCP_CMD_BASE_VERSION) +#define DPMCP_CMD(id) (((id) << DPMCP_CMD_ID_OFFSET) | DPMCP_CMD_BASE_VERSION) /* Command IDs */ #define DPMCP_CMDID_CLOSE DPMCP_CMD(0x800) diff --git a/drivers/staging/fsl-mc/bus/dpmng-cmd.h b/drivers/staging/fsl-mc/bus/dpmng-cmd.h index cdddfb8..d1f04ac 100644 --- a/drivers/staging/fsl-mc/bus/dpmng-cmd.h +++ b/drivers/staging/fsl-mc/bus/dpmng-cmd.h @@ -44,7 +44,7 @@ #define DPMNG_CMD_BASE_VERSION 1 #define DPMNG_CMD_ID_OFFSET 4 -#define DPMNG_CMD(id) ((id << DPMNG_CMD_ID_OFFSET) | DPMNG_CMD_BASE_VERSION) +#define DPMNG_CMD(id) (((id) << DPMNG_CMD_ID_OFFSET) | DPMNG_CMD_BASE_VERSION) /* Command IDs */ #define DPMNG_CMDID_GET_VERSION DPMNG_CMD(0x831) diff --git a/drivers/staging/fsl-mc/bus/dprc-cmd.h b/drivers/staging/fsl-mc/bus/dprc-cmd.h index e9fdca4..d9b2dcd 100644 --- a/drivers/staging/fsl-mc/bus/dprc-cmd.h +++ b/drivers/staging/fsl-mc/bus/dprc-cmd.h @@ -48,7 +48,7 @@ #define DPRC_CMD_BASE_VERSION 1 #define DPRC_CMD_ID_OFFSET 4 -#define DPRC_CMD(id) ((id << DPRC_CMD_ID_OFFSET) | DPRC_CMD_BASE_VERSION) +#define DPRC_CMD(id) (((id) << DPRC_CMD_ID_OFFSET) | DPRC_CMD_BASE_VERSION) /* Command IDs */ #define DPRC_CMDID_CLOSE DPRC_CMD(0x800)