Thread (3 messages) flat view 3 messages, 2 authors, 2021-06-07

Re: [PATCH -next] reset: mchp: sparx5: fix return value check in mchp_sparx5_map_io()

From: Philipp Zabel <p.zabel@pengutronix.de>
Date: 2021-06-07 09:23:37
Also in: kernel-janitors, lkml

On Wed, 2021-05-19 at 14:16 +0000, Wei Yongjun wrote:
In case of error, the function devm_platform_get_and_ioremap_resource()
returns ERR_PTR() and never returns NULL. The NULL test in the return
value check should be replaced with IS_ERR().

Fixes: 453ed4283beb ("reset: mchp: sparx5: add switch reset driver")
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
Thank you, applied to reset/fixes.

regards
Philipp

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help