[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYQ9ay4aUimY6D2Nz=75Et8D1z82wzAaa6nxo1tJ1Kmhw@mail.gmail.com>
Date: Sat, 2 Dec 2017 21:25:51 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-gpio@...r.kernel.org
Subject: Re: [PATCH v2] gpio: ftgpio010: Fix platform_get_irq's error checking
On Sat, Dec 2, 2017 at 6:01 PM, Arvind Yadav <arvind.yadav.cs@...il.com> 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@...il.com>
> ---
> changes in v2:
> It's should be 'irq <= 0' instead of 'irq < 0'.
Yep that's the right patch! Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists