Re: linux-next: build failure after merge of the watchdog tree

From: Stephen Rothwell
Date: Fri Sep 26 2014 - 02:29:53 EST


Hi Guenter,

On Thu, 25 Sep 2014 22:51:28 -0700 Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> On 09/25/2014 10:40 PM, Stephen Rothwell wrote:
> > Hi Wim,
> >
> > After merging the watchdog tree, today's linux-next build (arm
> > multi_v7_defconfig) failed like this:
> >
> >
> > drivers/watchdog/meson_wdt.c: In function 'meson_wdt_probe':
> > drivers/watchdog/meson_wdt.c:178:2: error: implicit declaration of function 'register_restart_handler' [-Werror=implicit-function-declaration]
> > err = register_restart_handler(&meson_wdt->restart_handler);
> > ^
> > drivers/watchdog/meson_wdt.c: In function 'meson_wdt_remove':
> > drivers/watchdog/meson_wdt.c:193:2: error: implicit declaration of function 'unregister_restart_handler' [-Werror=implicit-function-declaration]
> > unregister_restart_handler(&meson_wdt->restart_handler);
> > ^
> >
> > Caused by commit 575f4153957b ("ARM: meson: add watchdog driver").
> >
> > I have reverted that commit for today.
> >
>
> Those functions are defined by patches which reside in Andrew's tree.
> Is that merged later ?

Yes, Andrew's tree is merged last and part of it depends on linux-next
itself ...

We really don't want these inter tree dependencies (especially with
Andrew's tree).

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature