Re: linux-next: build failure after merge of the final tree(usb-gadget tree related)

From: Felipe Balbi
Date: Tue Aug 13 2013 - 15:57:15 EST


On Tue, Aug 13, 2013 at 09:52:53PM +0200, Sedat Dilek wrote:
> On Tue, Aug 13, 2013 at 9:51 PM, Felipe Balbi <balbi@xxxxxx> wrote:
> > On Tue, Aug 13, 2013 at 02:48:03PM -0500, Felipe Balbi wrote:
> >> Hi,
> >>
> >> On Tue, Aug 13, 2013 at 06:17:19PM +1000, Stephen Rothwell wrote:
> >> > Hi all,
> >> >
> >> > After merging the final tree, today's linux-next build (powerpc allyesconfig)
> >> > failed like this:
> >> >
> >> > drivers/usb/phy/phy-am335x-control.c: In function 'am335x_control_usb_probe':
> >> > drivers/usb/phy/phy-am335x-control.c:117:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration]
> >> > if (IS_ERR(ctrl_usb->phy_reg))
> >> > ^
> >> > drivers/usb/phy/phy-am335x-control.c:118:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration]
> >> > return PTR_ERR(ctrl_usb->phy_reg);
> >> > ^
> >> >
> >> > Caused by commit 3bb869c8b3f1 ("usb: phy: Add AM335x PHY driver") from
> >> > the usb-gadget tree. Forgot to include linux/err.h.
> >> >
> >> > I have reverted that commit for today.
> >>
> >> damn, I didn't catch that. Sebastian, can you send a patch ?
> >
> > nevermind already patched it myself.
> >
>
> Sebastian sent some hours ago this one:
>
> [PATCH] usb: phy: am335x: include linux/err.h

will replace with that.

--
balbi

Attachment: signature.asc
Description: Digital signature