From: Dan Carpenter Date: Thu, 7 Nov 2013 07:51:34 +0000 (+0300) Subject: gpio: msm: make msm_gpio.summary_irq signed for error handling X-Git-Tag: v3.13-rc2~10^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfea603bc54c0a736d45bc60b188a8cdae9aaaa3;p=pandora-kernel.git gpio: msm: make msm_gpio.summary_irq signed for error handling There is a bug in msm_gpio_probe() where we do: msm_gpio.summary_irq = platform_get_irq(pdev, 0); if (msm_gpio.summary_irq < 0) { The problem is that "msm_gpio.summary_irq" is unsigned so the error handling doesn't work. I've fixed it by making it signed. Fixes: 43f68444bce7 ('gpio: msm: Add device tree and irqdomain support for gpio-msm-v2') Cc: stable@vger.kernel.org Signed-off-by: Dan Carpenter Signed-off-by: Linus Walleij --- Reading git-diff-tree failed