Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dan Carpenter and committed by
Dmitry Torokhov
b6310aff 37dee1ac

+1 -1
+1 -1
drivers/input/touchscreen/sx8654.c
··· 79 79 static irqreturn_t sx8654_irq(int irq, void *handle) 80 80 { 81 81 struct sx8654 *sx8654 = handle; 82 - u8 irqsrc; 82 + int irqsrc; 83 83 u8 data[4]; 84 84 unsigned int x, y; 85 85 int retval;