[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYdcj9kEntzZ0q=xkEKjdzH6tmWPYBAH+8iSpPGvMaT5w@mail.gmail.com>
Date: Wed, 12 Jun 2019 10:59:00 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Grygorii Strashko <grygorii.strashko@...com>
Cc: Russell King <rmk@....linux.org.uk>,
Tony Lindgren <tony@...mide.com>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Linux-OMAP <linux-omap@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Santosh Shilimkar <ssantosh@...nel.org>,
Russell King <rmk+kernel@...linux.org.uk>
Subject: Re: [PATCH-next 19/20] gpio: gpio-omap: irq_startup() must not return
error codes
On Mon, Jun 10, 2019 at 7:13 PM Grygorii Strashko
<grygorii.strashko@...com> wrote:
> From: Russell King <rmk+kernel@...linux.org.uk>
>
> The irq_startup() method returns an unsigned int, but in __irq_startup()
> it is assigned to an int. However, nothing checks for errors, so any
> error that is returned is ignored.
>
> Remove the check for GPIO-input mode and the error return.
>
> Signed-off-by: Russell King <rmk+kernel@...linux.org.uk>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@...com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists