Thread (1 message) 1 message, 1 author, 2015-05-19

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

From: robert.jarzmik@free.fr (Robert Jarzmik)
Date: 2015-05-19 06:00:04

David Binderman [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help