[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <42601e860097651547fb9baecd660b5c@walle.cc>
Date: Tue, 28 Jun 2022 16:27:23 +0200
From: Michael Walle <michael@...le.cc>
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linuxppc-dev@...ts.ozlabs.org, arnd@...db.de, shawnguo@...nel.org
Subject: Re: [PATCH -next 1/2] soc: fsl: guts: fix return value check in
fsl_guts_init()
Am 2022-06-28 16:02, schrieb Yang Yingliang:
> In case of error, of_iomap() returns NULL pointer not ERR_PTR().
> The IS_ERR() test in the return value check should be replaced
> with NULL test and return -ENOMEM as error value.
>
> Fixes: ab4988d6a393 ("soc: fsl: guts: embed fsl_guts_get_svr() in
> probe()")
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
Thanks!
Reviewed-by: Michael Walle <michael@...le.cc>
Powered by blists - more mailing lists