Re: [PATCH resend] usb: gadget: legacy: fix error return code of msg_bind()

From: Greg KH
Date: Tue Mar 23 2021 - 07:37:15 EST


On Sun, Mar 07, 2021 at 12:52:19AM -0800, Jia-Ju Bai wrote:
> When usb_otg_descriptor_alloc() returns NULL to usb_desc, no error
> return code of msg_bind() is assigned.
> To fix this bug, status is assigned with -ENOMEM in this case.
>
> Reported-by: TOTE Robot <oslab@xxxxxxxxxxxxxxx>>

You have 2 '>' on the end of this line :(