[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d6665d84470dfb8ac59d76b97f4f85dc97a754f5.camel@pengutronix.de>
Date: Mon, 07 Jun 2021 11:33:36 +0200
From: Philipp Zabel <p.zabel@...gutronix.de>
To: Wei Yongjun <weiyongjun1@...wei.com>,
Steen Hegelund <steen.hegelund@...rochip.com>,
Lars Povlsen <lars.povlsen@...rochip.com>,
UNGLinuxDriver@...rochip.com
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH -next] reset: mchp: sparx5: fix return value check in
mchp_sparx5_map_io()
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@...wei.com>
> > Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
>
> Thank you, applied to reset/fixes.
^^^^^^^^^^^
reset/next, not fixes.
regards
Philipp
Powered by blists - more mailing lists