Re: [PATCH 1/3 v3] mfd: ipaq-micro: Fix platform_get_irq's error checking

From: Krzysztof Kozlowski
Date: Thu Aug 27 2020 - 03:37:09 EST


On Sun, 19 Nov 2017 at 05:28, Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> wrote:
>
> The platform_get_irq() function returns negative if an error occurs.
> zero or positive number on success. platform_get_irq() error checking
> for zero is not correct.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
> ---
> changes in v2 :
> Add failure case '<= 0' instead of '< 0'. If IRQ0 is not valid.
> changes in v3 :
> return -EINVAL insted of irq.
>
> drivers/mfd/ipaq-micro.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Hi Arvind,

This was never applied. Can you rebase and resend the entire series?
Or maybe there was a reason to drop it?

Best Regards,
Krzysztof