Re: usb: gadget: tcm: factor out f_tcm

2015-12-08 Thread Andrzej Pietrasiewicz
Hi Dan, W dniu 08.12.2015 o 14:15, Dan Carpenter pisze: Hello Andrzej Pietrasiewicz, The patch b4b91143ec45: "usb: gadget: tcm: factor out f_tcm" from Oct 27, 2015, leads to the following static checker warning: drivers/usb/gadget/function/f_tcm.c:1149 usbg_submit_command() war

re: usb: gadget: tcm: factor out f_tcm

2015-12-08 Thread Dan Carpenter
Hello Andrzej Pietrasiewicz, The patch b4b91143ec45: "usb: gadget: tcm: factor out f_tcm" from Oct 27, 2015, leads to the following static checker warning: drivers/usb/gadget/function/f_tcm.c:1149 usbg_submit_command() warn: bool is not less than zero. drivers/usb/gadget/function