On Tue, Aug 04, 2020 at 08:24:03AM +, Wei Yongjun wrote:
> In case of error, the function devm_ioremap() returns NULL pointer not
> ERR_PTR(). The IS_ERR() test in the return value check should be
> replaced with NULL test.
>
> Fixes: f046e4a3f0b9 ("memory: jz4780_nemc: Only request IO memory
In case of error, the function devm_ioremap() returns NULL pointer not
ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Fixes: f046e4a3f0b9 ("memory: jz4780_nemc: Only request IO memory the driver
will use")
Reported-by: Hulk Robot
Signed-off-by: Wei
2 matches
Mail list logo