diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-03-11 13:42:13 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-11 13:44:30 -0400 |
| commit | b6310affbe2bf14cbe6b6d28db48e1e37d52fbca (patch) | |
| tree | b3163f92c3c9fe4ae268f99f8ae914c01d6f8347 /drivers/input | |
| parent | 37dee1acdd587c09826888738d78649a2c529125 (diff) | |
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.c | 2 |
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 { | |||
| 79 | static irqreturn_t sx8654_irq(int irq, void *handle) | 79 | static irqreturn_t sx8654_irq(int irq, void *handle) |
| 80 | { | 80 | { |
| 81 | struct sx8654 *sx8654 = handle; | 81 | struct sx8654 *sx8654 = handle; |
| 82 | u8 irqsrc; | 82 | int irqsrc; |
| 83 | u8 data[4]; | 83 | u8 data[4]; |
| 84 | unsigned int x, y; | 84 | unsigned int x, y; |
| 85 | int retval; | 85 | int retval; |
