On Thu, Nov 7, 2013 at 8:51 AM, Dan Carpenter <[email protected]> wrote:
> 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')
> Signed-off-by: Dan Carpenter <[email protected]>
Applied for fixes and tagged for stable.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html