[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2023080507-umbrella-automated-0db9@gregkh>
Date: Sat, 5 Aug 2023 08:22:20 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: coolrrsh@...il.com
Cc: broonie@...nel.org, linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH v2] fixes warning
On Sat, Aug 05, 2023 at 01:37:11AM +0530, coolrrsh@...il.com wrote:
> From: Rajeshwar R Shinde <coolrrsh@...il.com>
>
> Typecasting the interrupt number from "unsigned int" to "signed int" to compare with 0(signed int by default).
> Declaring interrupt number as "signed int" would violate kernel standards. So typecasting is the possible approach.
> The fix is for spi-mpc52xx.
>
> This fixes warning such as:
> drivers/spi/spi-mpc52xx-psc.c:332:5-13: WARNING: Unsigned expression compared with zero: mps -> irq < 0
>
> Signed-off-by: Rajeshwar R Shinde <coolrrsh@...il.com>
> ---
> drivers/spi/spi-mpc52xx-psc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Your subject lines are still incorrect :(
Powered by blists - more mailing lists