Re: [PATCH -next] reset: mchp: sparx5: fix return value check in mchp_sparx5_map_io()
From: Philipp Zabel
Date: Mon Jun 07 2021 - 05:33:45 EST
On Mon, 2021-06-07 at 11:23 +0200, Philipp Zabel wrote:
> 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 <hulkci@xxxxxxxxxx>
> > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
>
> Thank you, applied to reset/fixes.
^^^^^^^^^^^
reset/next, not fixes.
regards
Philipp