Re: [PATCH] usb: bdc: Fix return value of bdc_probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 devm_platform_ioremap_resource() to simplify code")
Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
[...]

MBR, Sergei



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux