lkml.org 
[lkml]   [2017]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/10] Handle platform_get_irq's error checking and returns
Date
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 and we must check its return value.

Arvind Yadav (10):
[PATCH 01/10] Input: ep93xx_keypad: Fix platform_get_irq's error checking
[PATCH 02/10] Input: omap4-keypad: Fix platform_get_irq's error checking
[PATCH 03/10] Input: twl4030_keypad: Fix platform_get_irq's error checking
[PATCH 04/10] Input: serio: Fix platform_get_irq's error checking
[PATCH 05/10] Input: cpcap-pwrbutton: Handle return value of platform_get_irq
[PATCH 06/10] Input: w90p910_ts: Handle return value of platform_get_irq
[PATCH 07/10] Input: sun4i-ts: Handle return value of platform_get_irq
[PATCH 08/10] Input: twl4030-pwrbutton: Handle return value of platform_get_irq
[PATCH 09/10] Input: sirfsoc-onkey: Handle return value of platform_get_irq
[PATCH 10/10] Input: palmas-pwrbutton: Handle return value of platform_get_irq

drivers/input/keyboard/ep93xx_keypad.c | 2 +-
drivers/input/keyboard/omap4-keypad.c | 2 +-
drivers/input/keyboard/twl4030_keypad.c | 2 +-
drivers/input/misc/cpcap-pwrbutton.c | 3 +++
drivers/input/misc/palmas-pwrbutton.c | 5 +++++
drivers/input/misc/sirfsoc-onkey.c | 3 +++
drivers/input/misc/twl4030-pwrbutton.c | 3 +++
drivers/input/serio/sun4i-ps2.c | 2 +-
drivers/input/touchscreen/sun4i-ts.c | 3 +++
drivers/input/touchscreen/w90p910_ts.c | 4 ++++
10 files changed, 25 insertions(+), 4 deletions(-)

--
2.7.4

\
 
 \ /
  Last update: 2017-11-17 20:16    [W:0.104 / U:1.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site