[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YRizb/FGfYpGbpJy@kroah.com>
Date: Sun, 15 Aug 2021 08:25:51 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: daniel watson <ozzloy@...llenge-bot.com>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>, linux-iio@...r.kernel.org,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging:iio:ade7854 surround complex defines in
parentheses
On Sat, Aug 14, 2021 at 07:31:15PM -0700, daniel watson wrote:
> Error found by checkpatch.pl
What error?
>
> Signed-off-by: daniel watson <ozzloy@...llenge-bot.com>
Capitalize your name?
> ---
> drivers/staging/iio/meter/ade7854.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/iio/meter/ade7854.h b/drivers/staging/iio/meter/ade7854.h
> index a51e6e3183d38..afb13e21002e1 100644
> --- a/drivers/staging/iio/meter/ade7854.h
> +++ b/drivers/staging/iio/meter/ade7854.h
> @@ -139,9 +139,9 @@
> #define ADE7854_MAX_RX 7
> #define ADE7854_STARTUP_DELAY 1000
>
> -#define ADE7854_SPI_SLOW (u32)(300 * 1000)
> -#define ADE7854_SPI_BURST (u32)(1000 * 1000)
> -#define ADE7854_SPI_FAST (u32)(2000 * 1000)
> +#define ADE7854_SPI_SLOW ((u32)(300 * 1000))
> +#define ADE7854_SPI_BURST ((u32)(1000 * 1000))
> +#define ADE7854_SPI_FAST ((u32)(2000 * 1000))
This is not a real change that is needed, just look at the code to
verify that.
thanks,
greg k-h
Powered by blists - more mailing lists