mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 03:22:37 +00:00
In case of error, the function of_io_request_and_map() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>