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: Lauri Kasanen <hidden>
Date: 2021-03-08 13:42:05
Also in: kernel-janitors

On Mon, 8 Mar 2021 12:28:56 +0000
'Wei Yongjun [off-list ref] 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>
Reviewed-by: Lauri Kasanen <redacted>

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