Re: The build error for today's usb-next branch at gregKH's tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Mon, May 21, 2012 at 01:57:39PM +0300, Felipe Balbi wrote:
> Hi,
> 
> On Mon, May 21, 2012 at 10:05:56AM +0000, Chen Peter-B29397 wrote:
> > Hi Greg,
> > 
> > There is a build error when I build your usb-next branch today: 
> > 
> > /home/b29397/work/code/git/linus/linux-2.6/drivers/usb/core/hub.c: 
> > In function 'usb_disable_lpm':
> > /home/b29397/work/code/git/linus/linux-2.6/drivers/usb/core/hub.c:
> > 3394: error: implicit declaration of function 'usb_enable_lpm'
> > /home/b29397/work/code/git/linus/linux-2.6/drivers/usb/core/hub.c:
> >  At top level:
> > /home/b29397/work/code/git/linus/linux-2.6/drivers/usb/core/hub.c:
> > 3424: warning: conflicting types for 'usb_enable_lpm'
> > /home/b29397/work/code/git/linus/linux-2.6/drivers/usb/core/hub.c:
> > 3394: note: previous implicit declaration of 'usb_enable_lpm' was here
> > make[4]: *** [drivers/usb/core/hub.o] Error 1
> > 
> > Seems related to below patch:
> > 
> > commit 1ea7e0e8e3d0f50901d335ea4178ab2aa8c88201
> > Author: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>
> > Date:   Tue Apr 24 17:21:50 2012 -0700
> > 
> >     USB: Add support to enable/disable USB3 link states.
> 
> I just compiled Greg's usb-next branch and didn't see this problem. Do
> you have a dirty tree ?
> 
> What does git status show ?

It's probably because CONFIG_PM is turned off in his tree.  I'm working
on fixing this.

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


B and H Foto and Electronics Corp.

[Linux Media]     [Video for Linux]     [Linux Input]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]     [More Archives]

Add to Google Powered by Linux