Re: usb: phy: msm: Migrate to Managed Device Resource allocation

2014-05-14 Thread Dan Carpenter
On Wed, May 14, 2014 at 10:01:17AM +0300, Ivan T. Ivanov wrote: > On Tue, 2014-05-13 at 23:20 +0300, Dan Carpenter wrote: > > Hello Ivan T. Ivanov, > > > > The patch 6b99c68ec1f9: "usb: phy: msm: Migrate to Managed Device > > Resource allocation" from Apr 28, 2014, leads to the following static >

Re: usb: phy: msm: Migrate to Managed Device Resource allocation

2014-05-14 Thread Ivan T. Ivanov
On Tue, 2014-05-13 at 23:20 +0300, Dan Carpenter wrote: > Hello Ivan T. Ivanov, > > The patch 6b99c68ec1f9: "usb: phy: msm: Migrate to Managed Device > Resource allocation" from Apr 28, 2014, leads to the following static > checker warning: > > drivers/usb/phy/phy-msm-usb.c:1590 msm_otg_pro

re: usb: phy: msm: Migrate to Managed Device Resource allocation

2014-05-13 Thread Dan Carpenter
Hello Ivan T. Ivanov, The patch 6b99c68ec1f9: "usb: phy: msm: Migrate to Managed Device Resource allocation" from Apr 28, 2014, leads to the following static checker warning: drivers/usb/phy/phy-msm-usb.c:1590 msm_otg_probe() warn: 'motg->regs' isn't an ERR_PTR drivers/usb/phy/ph