On Fri, Mar 5, 2021 at 4:49 AM 'Wei Yongjun [off-list ref] wrote:
From: Wei Yongjun <redacted>
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().
Fixes: 188db4435ac6 ("usb: gadget: s3c: use platform resources")
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
Nice find, thanks for fixing it!
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel