[PATCH 0/2] misc: Fix platform_get_irq's error checking

Arvind Yadav arvind.yadav.cs at gmail.com
Fri Nov 17 21:44:25 PST 2017


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 platform_get_irq's error checking

 drivers/misc/aspeed-lpc-snoop.c | 4 ++--
 drivers/misc/atmel-ssc.c        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.7.4




More information about the linux-arm-kernel mailing list