Re: -tip: origin tree build failure (battery-2.6.git related)

From: Andrew Morton
Date: Thu Oct 28 2010 - 03:08:56 EST


On Thu, 28 Oct 2010 08:54:57 +0200 Ingo Molnar <mingo@xxxxxxx> wrote:

>
> Hi,
>
> * Anton Vorontsov <cbouatmailru@xxxxxxxxx> wrote:
>
> > Hello Linus,
> >
> > Please pull battery-2.6.git tree to receive changes prepared for
> > 2.6.37.
> >
> > There are three new drivers, various small cleanups and bug fixes.
> > [...]
> >
> > Grazvydas Ignotas (1):
> > power_supply: Add driver for TWL4030/TPS65950 BCI charger
>
> Today's -tip fails to build due to upstream commit 2e727f1 ("power_supply: Add
> driver for TWL4030/TPS65950 BCI charger"), on every x86 build that has this driver
> enabled (for example allyesconfig or allmodconfig):
>
> drivers/power/twl4030_charger.c: In function ___twl4030_clear_set_boot_bci___:
> drivers/power/twl4030_charger.c:105: error: ___TWL4030_PM_MASTER_BOOT_BCI___ undeclared (first use in this function)
> drivers/power/twl4030_charger.c:105: error: (Each undeclared identifier is reported only once
> drivers/power/twl4030_charger.c:105: error: for each function it appears in.)
> drivers/power/twl4030_charger.c: In function ___twl4030_bci_have_vbus___:
> drivers/power/twl4030_charger.c:137: error: ___TWL4030_PM_MASTER_STS_HW_CONDITIONS___ undeclared (first use in this function)
>
> The new driver does not build at its own commit point either, as the missing symbol
> definition is simply not there. It appears that commit 2e727f1 could not have been
> build-tested by anyone before it got upstream (let alone boot and functionality
> tested). As a temporary workaround i'm disabling it in -tip.
>

Those definitions get added by the MFD tree and used by the battery
tree. Things arrived in the wrong order (and, yes, didn't get tested).

The fix is for Samuel to get a wiggle on with his merge? The -rc1
window is about to slam shut on his fingers anyway.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/