Re: [PATCH] n64cart: fix return value check in n64cart_probe()

From: Jens Axboe
Date: Thu Sep 09 2021 - 16:24:31 EST


On 9/9/21 3:06 AM, Yang Yingliang wrote:
> In case of error, the function devm_platform_ioremap_resource()
> returns ERR_PTR() and never returns NULL. The NULL test in the
> return value check should be replaced with IS_ERR().

Applied, thanks.

--
Jens Axboe