Thread (3 messages) flat view 3 messages, 3 authors, 2021-03-05

Re: [PATCH -next] USB: gadget: udc: s3c2410_udc: fix return value check in s3c2410_udc_probe()

From: Krzysztof Kozlowski <hidden>
Date: 2021-03-05 10:13:17
Also in: kernel-janitors, linux-samsung-soc, linux-usb

On 05/03/2021 04:49, 'Wei Yongjun 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>

Reviewed-by: Krzysztof Kozlowski <redacted>

Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help