Re: [PATCH] usb: gadget: mass_storage: fix error return code in msg_bind()

2020-11-12 Thread chenzhou
On 2020/11/12 16:53, Chen Zhou wrote: > Fix to return a negative error code from the error handling case > instead of 0 in function msg_bind(), as done elsewhere in this > function. > > Fixes: d86788979761 ("usb: gadget: mass_storage: allocate and init otg > descriptor by otg capabilities") >

[PATCH] usb: gadget: mass_storage: fix error return code in msg_bind()

2020-11-12 Thread Chen Zhou
Fix to return a negative error code from the error handling case instead of 0 in function msg_bind(), as done elsewhere in this function. Fixes: d86788979761 ("usb: gadget: mass_storage: allocate and init otg descriptor by otg capabilities") Reported-by: Hulk Robot Signed-off-by: Chen Zhou ---