Hello!
On 22.05.2020 11:17, Tiezhu Yang wrote:
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value
Already done.
and return PTR_ERR() if failed.
Yes, else the deferred probing doesn't work.
Fixes: 893a66d34298 ("usb: bdc: use
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.
Fixes: 893a66d34298 ("usb: bdc: use devm_platform_ioremap_resource() to
simplify code")
Signed-off-by: Tiezhu Yang
---
drivers/usb/gadget/udc/bdc/bdc_core.c | 2
2 matches
Mail list logo