[PATCH 1/2] usb: phy: mxs: declare variable with initialized value

2016-01-20 Thread Li Jun
Initialize vbus_value to be 0 since it's possible not to assign any value before judgement. Signed-off-by: Li Jun --- drivers/usb/phy/phy-mxs-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c index c2936dc..00b

Re: [PATCH 1/2] usb: phy: mxs: declare variable with initialized value

2016-02-03 Thread Felipe Balbi
Hi, Li Jun writes: > Initialize vbus_value to be 0 since it's possible not to assign > any value before judgement. > > Signed-off-by: Li Jun > --- > drivers/usb/phy/phy-mxs-usb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/us

RE: [PATCH 1/2] usb: phy: mxs: declare variable with initialized value

2016-02-03 Thread Jun Li
Hi > -Original Message- > From: Felipe Balbi [mailto:bal...@gmail.com] On Behalf Of Felipe Balbi > Sent: Thursday, February 04, 2016 1:55 AM > To: Jun Li ; Peter Chen ; > hzpeterc...@gmail.com > Cc: linux-usb@vger.kernel.org; Jun Li > Subject: Re: [PATCH 1/2] u