Re: [PATCH -next 1/2] soc: fsl: guts: fix return value check in fsl_guts_init()
From: Michael Walle <hidden>
Date: 2022-06-28 14:27:36
Also in:
linux-arm-kernel, lkml
From: Michael Walle <hidden>
Date: 2022-06-28 14:27:36
Also in:
linux-arm-kernel, lkml
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 <redacted>
Signed-off-by: Yang Yingliang <redacted>Thanks! Reviewed-by: Michael Walle <redacted>