Re: [PATCH] usb: phy: twl6030: Fix incorrect type for ret
From: 赵西超
Date: Fri Aug 22 2025 - 05:59:55 EST
> On Fri, Aug 22, 2025 at 04:14:03PM +0800, Xichao Zhao wrote:
>> In the twl6030_usb_probe(), the variable ret is declared as
>> a u32 type. However, since ret may receive -ENODEV when accepting
>> the return value of omap_usb2_set_comparator().Therefore, its type
>> should be changed to int.
>>
>> Signed-off-by: Xichao Zhao <zhao.xichao@xxxxxxxx>
>> ---
>> drivers/usb/phy/phy-twl6030-usb.c | 3 +--
>> 1 file changed, 1 insertion(+), 2 deletions(-)
> What commit id does this fix?
>
> thanks,
>
> greg k-h
I have added the fixes and sent out the v2 version of the patch.
Best Regards,
Xichao Zhao