Re: [bug report] usb: phy: Add USB charger support

2017-08-28 Thread Baolin Wang
Hi Felipe, On 28 August 2017 at 15:58, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Hi Dan, >> >> On 25 August 2017 at 20:20, Dan Carpenter wrote: >>> Hello Baolin Wang, >>> >>> This is a semi-automatic email about new static checker warnings. >>> >>> The patch a9081a008f84: "usb: phy

Re: [bug report] usb: phy: Add USB charger support

2017-08-28 Thread Felipe Balbi
Hi, Baolin Wang writes: > Hi Dan, > > On 25 August 2017 at 20:20, Dan Carpenter wrote: >> Hello Baolin Wang, >> >> This is a semi-automatic email about new static checker warnings. >> >> The patch a9081a008f84: "usb: phy: Add USB charger support" from Aug >> 15, 2017, leads to the following Sma

Re: [bug report] usb: phy: Add USB charger support

2017-08-27 Thread Baolin Wang
Hi Dan, On 25 August 2017 at 20:20, Dan Carpenter wrote: > Hello Baolin Wang, > > This is a semi-automatic email about new static checker warnings. > > The patch a9081a008f84: "usb: phy: Add USB charger support" from Aug > 15, 2017, leads to the following Smatch complaint: > > include/linux/usb/p

[bug report] usb: phy: Add USB charger support

2017-08-25 Thread Dan Carpenter
Hello Baolin Wang, This is a semi-automatic email about new static checker warnings. The patch a9081a008f84: "usb: phy: Add USB charger support" from Aug 15, 2017, leads to the following Smatch complaint: include/linux/usb/phy.h:327 usb_phy_set_power() warn: variable dereferenced befor