Re: [PATCH v2] fixes warning
From: Greg KH
Date: Sat Aug 05 2023 - 02:23:03 EST
On Sat, Aug 05, 2023 at 01:37:11AM +0530, coolrrsh@xxxxxxxxx wrote:
> From: Rajeshwar R Shinde <coolrrsh@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> ---
> drivers/spi/spi-mpc52xx-psc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Your subject lines are still incorrect :(