Thread (3 messages) 3 messages, 3 authors, 2021-03-08

Re: [PATCH -next] Input: n64joy - Fix return value check in n64joy_probe()

flat view

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2021-03-08 19:41:35
Also in: linux-input

On Mon, Mar 08, 2021 at 12:28:56PM +0000, 'Wei Yongjun wrote:
From: Wei Yongjun <redacted>

In case of error, the function devm_platform_ioremap_resource()
returns ERR_PTR() and never returns NULL. The NULL test in the
return value check should be replaced with IS_ERR().

Fixes: 3bdffa8ffb45 ("Input: Add N64 controller driver")
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
Applied, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help