On Mon, Sep 10, 2012 at 05:04:09PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/staging/silicom/bypasslib/built-in.o: In function `.is_bypass': > (.text+0x3254): multiple definition of `.is_bypass' > drivers/staging/silicom/bpctl_mod.o:(.text+0x1d938): first defined here > drivers/staging/silicom/bypasslib/built-in.o: In function `is_bypass': > (.opd+0x480): multiple definition of `is_bypass' > drivers/staging/silicom/bpctl_mod.o:(.opd+0x15f0): first defined here > > Caused by commit 7040e556c90a ("staging: add Silicom Bypass driver"). > > I added this patch to disable the driver: > > From 884437b30775214e9f34696adb2be2f24f1e6df7 Mon Sep 17 00:00:00 2001 > From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > Date: Mon, 10 Sep 2012 17:01:05 +1000 > Subject: [PATCH] staging: disable Silicom Bypass driver > > due to build breakage: > > rivers/staging/silicom/bypasslib/built-in.o: In function `.is_bypass': > (.text+0x3254): multiple definition of `.is_bypass' > drivers/staging/silicom/bpctl_mod.o:(.text+0x1d938): first defined here > drivers/staging/silicom/bypasslib/built-in.o: In function `is_bypass': > (.opd+0x480): multiple definition of `is_bypass' > drivers/staging/silicom/bpctl_mod.o:(.opd+0x15f0): first defined here > > Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > --- > drivers/staging/silicom/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/silicom/Kconfig b/drivers/staging/silicom/Kconfig > index 3493ee8..1914844 100644 > --- a/drivers/staging/silicom/Kconfig > +++ b/drivers/staging/silicom/Kconfig > @@ -6,6 +6,7 @@ config NET_VENDOR_SILICOM > bool "Silicom devices" > default y > depends on (SSB_POSSIBLE && HAS_DMA) || PCI > + depends on BROKEN I think forcing this driver to be a module will resolve this issue. It seems to be quite a common problem for most staging drivers when they first land in the tree, sorry for not catching this one. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html