Re: [PATCH -next] usb: gadget: multi: fix error return code in rndis_do_config()

2013-04-06 Thread Wei Yongjun
On 04/06/2013 01:39 PM, Felipe Balbi wrote: On Sat, Apr 06, 2013 at 12:39:34PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei

[PATCH -next] usb: gadget: multi: fix error return code in rndis_do_config()

2013-04-05 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/usb/gadget/multi.c | 4 +++- 1 file changed, 3

Re: [PATCH -next] usb: gadget: multi: fix error return code in rndis_do_config()

2013-04-05 Thread Felipe Balbi
On Sat, Apr 06, 2013 at 12:39:34PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn