mach-pxa/pxa_cplds_irqs.c:126: bad if test ?

Robert Jarzmik robert.jarzmik at free.fr
Mon May 18 23:00:04 PDT 2015


David Binderman <dcb314 at hotmail.com> writes:

> Hello there,
>
> [linux-4.1-rc4/arch/arm/mach-pxa/pxa_cplds_irqs.c:126]: (style) Checking if
> unsigned variable 'base_irq' is less than zero.
>
>     base_irq = platform_get_irq(pdev, 1);
>     if (base_irq < 0)
>         base_irq = 0;
Thanks David, a patch has already been provided by Dan Carpenter.

Cheers.

--
Robert



More information about the linux-arm-kernel mailing list