On Sat, Nov 18, 2017 at 11:14:25AM +0530, Arvind Yadav wrote:
> The platform_get_irq() function returns negative if an error occurs.
> zero or positive number on success. platform_get_irq() error checking
> for zero is not correct.
The failure case is <= 0, not < 0, as IRQ0 is not a valid
On Sat, Nov 18, 2017 at 11:14:25AM +0530, Arvind Yadav wrote:
> The platform_get_irq() function returns negative if an error occurs.
> zero or positive number on success. platform_get_irq() error checking
> for zero is not correct.
The failure case is <= 0, not < 0, as IRQ0 is not a valid
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.
Arvind Yadav (2):
[PATCH 1/2] misc: aspeed-lpc-snoop: Fix platform_get_irq's error checking
[PATCH 2/2] misc: atmel-ssc: Fix
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.
Arvind Yadav (2):
[PATCH 1/2] misc: aspeed-lpc-snoop: Fix platform_get_irq's error checking
[PATCH 2/2] misc: atmel-ssc: Fix
4 matches
Mail list logo