[PATCH -next] staging: dwc2: fix error return code in dwc2_hcd_init()

Matthijs Kooijman matthijs at stdin.nl
Fri Apr 12 15:20:40 UTC 2013


On Fri, Apr 12, 2013 at 10:41:48PM +0800, Wei Yongjun wrote:
> 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_wei at trendmicro.com.cn>

Patch looks good good to me.

Reviewed-by: Matthijs Kooijman <matthijs at stdin.nl>

Gr.

Matthijs



More information about the devel mailing list