[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YE28Uzs6ZhHopk8J@kroah.com>
Date: Sun, 14 Mar 2021 08:33:39 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Selvakumar Elangovan <selvakumar16197@...il.com>
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: octeon-usb: fixed precedence issue
On Sat, Mar 13, 2021 at 11:02:47PM +0530, Selvakumar Elangovan wrote:
> Added parenthesis around reg macro to avoid precedence issue identified by
> checkpatch.pl
>
> Signed-off-by: Selvakumar Elangovan <selvakumar16197@...il.com>
> ---
> drivers/staging/octeon-usb/octeon-hcd.h | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h
> index 9ed619c93a4e..5aefd3fb3854 100644
> --- a/drivers/staging/octeon-usb/octeon-hcd.h
> +++ b/drivers/staging/octeon-usb/octeon-hcd.h
> @@ -51,11 +51,11 @@
> #include <asm/bitfield.h>
>
> #define CVMX_USBCXBASE 0x00016F0010000000ull
> -#define CVMX_USBCXREG1(reg, bid) \
> - (CVMX_ADD_IO_SEG(CVMX_USBCXBASE | reg) + \
> +#define CVMX_USBCXREG1((reg), bid) \
Why did you change this line?
Powered by blists - more mailing lists