Input: sx8654 - signedness bug in sx8654_irq()
Subsystems (3)
PATCH 1/1 Input: sx8654 - signedness bug in sx8654_irq()
"irqsrc" needs to be signed for the error handling to work.
Signed-off-by Dan Carpenter <[email protected]>
drivers/input/touchscreen/sx8654.c +1 -1
@@ -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;
Quoted 4 lines · Dan Carpenter
"irqsrc" needs to be signed for the error handling to work.
Signed-off-by Dan Carpenter <[email protected]>
Applied, thank you.
Quoted 13 lines
drivers/input/touchscreen/sx8654.c +1
-1@@ -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;
Signature · 1 line
Dmitry