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

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


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 ?

--
balbi

Attachment: signature.asc
Description: Digital signature