Re: [PATCH] mfd: pm8921: fixup probe() error path when irq invalid

From: Lee Jones
Date: Thu Mar 06 2014 - 04:20:37 EST


> platform_get_irq() returns a negative error code when an IRQ is invalid
> or unspecified. Make 'irq' signed to properly handle this.
>
> Cc: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
> Signed-off-by: Josh Cartwright <joshc@xxxxxxxxxxxxxx>
> ---
> drivers/mfd/pm8921-core.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Applied thanks.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/