From: Dan Carpenter Date: Mon, 11 Nov 2013 07:31:17 +0000 (-0800) Subject: Input: tnetv107x-keypad - make irqs signed for error handling X-Git-Tag: v3.13-rc1~65^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a108193cf9685061660e111f985594d6a344abfb;p=pandora-kernel.git Input: tnetv107x-keypad - make irqs signed for error handling There is a bug in keypad_probe() where we do: kp->irq_press = platform_get_irq_byname(pdev, "press"); kp->irq_release = platform_get_irq_byname(pdev, "release"); if (kp->irq_press < 0 || kp->irq_release < 0) { The problem is that these irq variables are unsigned so the error handling doesn't work. I've changed them to signed values. Signed-off-by: Dan Carpenter Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed