RE: [PATCH -next] usb: renesas_usbhs: gadget: fix return value check in usbhs_mod_gadget_probe()

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

 



Hi,

Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> writes:
>> From: Wei Yongjun
>> Sent: Saturday, August 13, 2016 10:28 AM
>> 
>> In case of error, the function usb_get_phy() returns ERR_PTR() and never
>> returns NULL. The NULL test in the return value check should be replaced
>> with IS_ERR().
>> 
>> Signed-off-by: Wei Yongjun <weiyj.lk@xxxxxxxxx>
>
> Thank you for the patch!
>
> Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
>
> If possible, I would like to add the following tags when this patch is merged:
>
> Fixes: b5a2875605ca ("usb: renesas_usbhs: Allow an OTG PHY driver to provide VBUS")
> Cc: <stable@xxxxxxxxxxxxxxx> # v4.3+

Added, thanks.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux