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

From: Jean Delvare
Date: Thu May 19 2011 - 05:08:23 EST


On Thu, 19 May 2011 13:27:04 +1000, Stephen Rothwell wrote:
> Hi Jean,
>
> After merging the i2c tree, today's linux-next build (i386 defconfig)
> failed like this:
>
> drivers/built-in.o: In function `i2c_i801_init':
> i2c-i801.c:(.init.text+0x88b9): undefined reference to `check_signature'
>
> Probably caused by commit fc02951b3293 ("i2c-i801: Don't depend on other
> kernel driver config options"). Reverting that commit fixes the problem,
> so I have done that for today.

Oops, good catch. Fix is:

---
drivers/i2c/busses/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-2.6.39-rc7.orig/drivers/i2c/busses/Kconfig 2011-05-19 09:02:42.000000000 +0200
+++ linux-2.6.39-rc7/drivers/i2c/busses/Kconfig 2011-05-19 11:03:36.000000000 +0200
@@ -79,6 +79,7 @@ config I2C_AMD8111
config I2C_I801
tristate "Intel 82801 (ICH/PCH)"
depends on PCI
+ select CHECK_SIGNATURE if X86 && DMI
help
If you say yes to this option, support will be included for the Intel
801 family of mainboard I2C interfaces. Specifically, the following

I'll fold it in the faulty patch so it should build fine tomorrow.

--
Jean Delvare
--
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/