From: Dan Carpenter Date: Wed, 11 Mar 2015 17:42:13 +0000 (-0700) Subject: Input: sx8654 - signedness bug in sx8654_irq() X-Git-Tag: v4.14-rc1~4^2~463 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6310affbe2bf14cbe6b6d28db48e1e37d52fbca;p=platform%2Fkernel%2Flinux-rpi.git Input: sx8654 - signedness bug in sx8654_irq() "irqsrc" needs to be signed for the error handling to work. Signed-off-by: Dan Carpenter Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c index 8e531ac..aecb9ad 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;