[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49b26402-9368-ce39-62dc-8404e3ea937c@physik.fu-berlin.de>
Date: Mon, 18 Jan 2021 20:00:06 +0100
From: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Nick Desaulniers <ndesaulniers@...gle.com>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Rich Felker <dalias@...c.org>,
Paul Mundt <lethal@...ux-sh.org>,
Guenter Roeck <linux@...ck-us.net>, linux-sh@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sh: check return code of request_irq
Hi Miguel!
On 1/1/21 9:42 PM, Miguel Ojeda wrote:
> On Fri, Jan 1, 2021 at 2:50 PM John Paul Adrian Glaubitz
> <glaubitz@...sik.fu-berlin.de> wrote:
>>
>> Verified on my SH-7785LCR board. Boots fine.
>>
>> Tested-by: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>
>
> Thanks for testing, John!
>
> I think Masahiro was concerned about the error case (I assume you
> tested the happy path).
Not sure about testing the error case though. How do I make request_irq()
fail?
> In any case, if no maintainer suggests something else, looks good to
> me (and it is no worse than the status quo unless the `pr_err()` can
> somehow kill it), so:
>
> Reviewed-by: Miguel Ojeda <ojeda@...nel.org>
I agree.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@...ian.org
`. `' Freie Universitaet Berlin - glaubitz@...sik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Powered by blists - more mailing lists