summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-03-11 10:42:13 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-11 10:44:30 -0700
commitb6310affbe2bf14cbe6b6d28db48e1e37d52fbca (patch)
treeb3163f92c3c9fe4ae268f99f8ae914c01d6f8347 /drivers/input
parent37dee1acdd587c09826888738d78649a2c529125 (diff)
downloadblackbird-op-linux-b6310affbe2bf14cbe6b6d28db48e1e37d52fbca.tar.gz
blackbird-op-linux-b6310affbe2bf14cbe6b6d28db48e1e37d52fbca.zip
Input: sx8654 - signedness bug in sx8654_irq()
"irqsrc" needs to be signed for the error handling to work. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/sx8654.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c
index 8e531ac0ecde..aecb9ad2e701 100644
--- a/drivers/input/touchscreen/sx8654.c
+++ b/drivers/input/touchscreen/sx8654.c
@@ -79,7 +79,7 @@ struct sx8654 {
static irqreturn_t sx8654_irq(int irq, void *handle)
{
struct sx8654 *sx8654 = handle;
- u8 irqsrc;
+ int irqsrc;
u8 data[4];
unsigned int x, y;
int retval;
OpenPOWER on IntegriCloud