On Thu, 26 Feb 2015 15:36:18 +0800 kbuild test robot <fengguang.wu@xxxxxxxxx> wrote: > It's probably a bug fix that unveils the link errors. > > tree: git://git.cmpxchg.org/linux-mmotm.git master > head: 87bf5bee8749a1d3c82d12a55a1e33f6a22da8ed > commit: 7d789876f1a932dfa1a70ae8eeba270aa34358ad [7/197] rtc: ds1685: fix ds1685_rtc_alarm_irq_enable build error > config: i386-randconfig-nexr0-0226 (attached as .config) > reproduce: > git checkout 7d789876f1a932dfa1a70ae8eeba270aa34358ad > # save the attached .config to linux build tree > make ARCH=i386 > > All error/warnings: > > drivers/built-in.o: In function `ak8975_set_mode': > >> ak8975.c:(.text+0x16c108): undefined reference to `i2c_smbus_write_byte_data' > drivers/built-in.o: In function `ak8975_probe': > >> ak8975.c:(.text+0x16c29b): undefined reference to `i2c_smbus_read_i2c_block_data' > >> ak8975.c:(.text+0x16c348): undefined reference to `i2c_smbus_read_i2c_block_data' > drivers/built-in.o: In function `ak8975_read_raw': > >> ak8975.c:(.text+0x16c66b): undefined reference to `i2c_smbus_read_byte_data' > >> ak8975.c:(.text+0x16c6a2): undefined reference to `i2c_smbus_read_byte_data' > >> ak8975.c:(.text+0x16c6c6): undefined reference to `i2c_smbus_read_byte_data' > >> ak8975.c:(.text+0x16c751): undefined reference to `i2c_smbus_read_word_data' > drivers/built-in.o: In function `ak8975_driver_init': > >> ak8975.c:(.init.text+0x10e35): undefined reference to `i2c_register_driver' > drivers/built-in.o: In function `ak8975_driver_exit': > >> ak8975.c:(.exit.text+0x1841): undefined reference to `i2c_del_driver' Yes, something seems to have gone spectacularly wrong here. "rtc: ds1685: fix ds1685_rtc_alarm_irq_enable build error" has nothing to do with i2c or with drivers/iio/magnetometer/ak8975.c. And CONFIG_AK8975 depends on CONFIG_I2C. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>