[PATCH] usb: dwc3: imx8mp: check dev_request_mem_resource return with IS_ERR
Sascha Hauer
s.hauer at pengutronix.de
Tue Sep 22 23:10:33 PDT 2026
On Tue, 22 Sep 2026 11:37:11 +0200, Ahmad Fatoum wrote:
> dev_request_mem_resource() returns an ERR_PTR() and never NULL, so the
> warning could never be printed and an error pointer would be used as
> MMIO address. Fix this by using IS_ERR for the error check.
>
>
Applied, thanks!
[1/1] usb: dwc3: imx8mp: check dev_request_mem_resource return with IS_ERR
https://git.pengutronix.de/cgit/barebox/commit/?id=e005bdbb0441 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list