Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp279450yba; Sat, 13 Apr 2019 00:22:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmaRvxaU28pv1dEK+HJaeoz3xgtinWWkr9WjtMKRR9VYm3+OzSmIdb2BssULYlAqr7ivTh X-Received: by 2002:a62:4351:: with SMTP id q78mr63116778pfa.86.1555140169554; Sat, 13 Apr 2019 00:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555140169; cv=none; d=google.com; s=arc-20160816; b=emLvn79+lFH8dmBaqGmhSxn3YjCzFxacFnUD0evaq/DSqz01Z7vAOs9Q/NJkvrICPT /8JveSxsEg0YBnNaZFk69CMfnZAKdOZWht1FSdRvrBKnBAK2kOWAOdzf537262cEmj3J laya1VXNcXseAHSWrwtDu3fjT527MmwHEP9fasTvoIucubaKJ2FclmR3fV427u74LFsn zv2bo4afuoIdk4AN6wjorgZPQziWSkvZeeTs37fI310kEiDbfDlqWchFh5lIwL3y9uK3 cA8Sydt5amGbrt5KK+Nn78C0vDfoHAwLCXxUQWZfbf6reKSBgahwIaLkDzz71BXVH/mM /e3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=/CqLyyzvtktZIHn+sFz2AxyeH8oQZ/sCmw7JAU8+lQk=; b=nsintWvNm9hWrR/KcU4+NmKlWy9nakCmQUst+lQpRP95R5/YYbvklDNs6zYKPdA9Od SfZCVIYaXjKPhEH5kUPQG28rsXYKbwS4b/bYkAO5K0zDzWOSFwlDFsge4F1FlybtvjOl Aok3ltINLhNGfSqLPPWwP7m0jvQp3K8dvzj3R4jBM2XByWzljbBpTfwf4SAFXOlsMY8R VVyUarxDrH62LPtpnLPPnSfwECDQBvTErZjt/V4jdwCCkRxhB9CN9oigDvtOnWFcECIa nraw5GBHz4V/NvBir+kTNRWOP9HMjrEHqtBU/BZdp1UQBCJg8454iicRytIgBj7P7ziE CZgQ== 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 77si28192534pft.72.2019.04.13.00.22.33; Sat, 13 Apr 2019 00:22:49 -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 S1727301AbfDMHVd (ORCPT + 99 others); Sat, 13 Apr 2019 03:21:33 -0400 Received: from www.osadl.org ([62.245.132.105]:36440 "EHLO www.osadl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726258AbfDMHVc (ORCPT ); Sat, 13 Apr 2019 03:21:32 -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 x3D7JfAb003435; Sat, 13 Apr 2019 09:20:50 +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 3/4 RFC] ARM: imx legacy: wrap complex macro in () Date: Sat, 13 Apr 2019 09:14:25 +0200 Message-Id: <1555139666-948-14-git-send-email-hofrat@osadl.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1555139666-948-1-git-send-email-hofrat@osadl.org> References: <1555139666-948-1-git-send-email-hofrat@osadl.org> X-Spam-Status: No, score=-1.9 required=6.0 tests=BAYES_00,DATE_IN_FUTURE_96_Q, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on www.osadl.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Checkpatch suggests to place a parenthesis around this complex macro. Signed-off-by: Nicholas Mc Guire --- Problem reported by checkpatch I'm actually not sure this really is improving readability but by default checkpatch gets it right so... Patch was compile-tested with: imx_v4_v5_defconfig (implies CONFIG_MACH_MX27ADS=y) Patch is against 5.1-rc4 (localversion-next is 20190412) arch/arm/mach-imx/mach-mx27ads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/mach-mx27ads.c b/arch/arm/mach-imx/mach-mx27ads.c index 49ac898..c83fdd3 100644 --- a/arch/arm/mach-imx/mach-mx27ads.c +++ b/arch/arm/mach-imx/mach-mx27ads.c @@ -42,8 +42,8 @@ * Base address of PBC controller, CS4 */ #define PBC_BASE_ADDRESS 0xf4300000 -#define PBC_REG_ADDR(offset) (void __force __iomem *) \ - (PBC_BASE_ADDRESS + (offset)) +#define PBC_REG_ADDR(offset) ((void __force __iomem *) \ + (PBC_BASE_ADDRESS + (offset))) /* When the PBC address connection is fixed in h/w, defined as 1 */ #define PBC_ADDR_SH 0 -- 2.1.4