Re: [patch] gpio: msm: make msm_gpio.summary_irq signed for error handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 7, 2013 at 8:51 AM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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 <dan.carpenter@xxxxxxxxxx>

Applied for fixes and tagged for stable.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux