Re: [PATCH] n64cart: fix return value check in n64cart_probe()
From
Jens Axboe <>
Date
Thu, 9 Sep 2021 14:24:26 -0600
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().