Hi Greg,
FYI, the error/warning still remains.
tree:
https://android.googlesource.com/kernel/common android-5.4-stable
head: bad091cc4bf33d4eb8086f5761311ceba1e71283
commit: 9c8aa25e2955df58dae59e409ec1bc7f850935d9 [8965/9854] ANDROID: GKI: fix
symbol_get/put() build error on arm64 defconfig
config: i386-randconfig-a005-20200914 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git checkout 9c8aa25e2955df58dae59e409ec1bc7f850935d9
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/i2c/algos/i2c-algo-bit.o: in function `i2c_bit_add_bus':
drivers/i2c/algos/i2c-algo-bit.c:685: undefined reference to `i2c_add_adapter'
ld: drivers/i2c/algos/i2c-algo-bit.o: in function `i2c_bit_add_numbered_bus':
drivers/i2c/algos/i2c-algo-bit.c:691: undefined reference to
`i2c_add_numbered_adapter'
ld: drivers/media/tuners/tda8290.o: in function `tuner_i2c_xfer_send':
> drivers/media/tuners/tuner-i2c.h:29: undefined reference to
`i2c_transfer'
> ld: drivers/media/tuners/tuner-i2c.h:29: undefined reference to `i2c_transfer'
ld: drivers/media/tuners/tda8290.o: in function `tda8290_standby':
drivers/media/tuners/tda8290.c:468: undefined reference to `i2c_transfer'
ld: drivers/media/tuners/tda8290.o: in function `tuner_i2c_xfer_send':
> drivers/media/tuners/tuner-i2c.h:29: undefined reference to
`i2c_transfer'
> ld: drivers/media/tuners/tuner-i2c.h:29: undefined reference to `i2c_transfer'
ld: drivers/media/tuners/tda8290.o:drivers/media/tuners/tda8290.c:584: more
undefined references to `i2c_transfer' follow
ld: drivers/media/common/b2c2/flexcop.o: in function `flexcop_pass_dmx_packets':
drivers/media/common/b2c2/flexcop.c:173: undefined reference to
`dvb_dmx_swfilter_packets'
ld: drivers/media/common/b2c2/flexcop.o: in function `flexcop_dvb_exit':
drivers/media/common/b2c2/flexcop.c:148: undefined reference to `dvb_net_release'
ld: drivers/media/common/b2c2/flexcop.c:155: undefined reference to
`dvb_dmxdev_release'
ld: drivers/media/common/b2c2/flexcop.c:156: undefined reference to
`dvb_dmx_release'
ld: drivers/media/common/b2c2/flexcop.c:157: undefined reference to
`dvb_unregister_adapter'
ld: drivers/media/common/b2c2/flexcop.o: in function `flexcop_dvb_init':
drivers/media/common/b2c2/flexcop.c:68: undefined reference to
`dvb_register_adapter'
ld: drivers/media/common/b2c2/flexcop.c:85: undefined reference to `dvb_dmx_init'
ld: drivers/media/common/b2c2/flexcop.c:96: undefined reference to
`dvb_dmxdev_init'
ld: drivers/media/common/b2c2/flexcop.c:121: undefined reference to `dvb_net_init'
ld: drivers/media/common/b2c2/flexcop.o: in function `flexcop_pass_dmx_data':
drivers/media/common/b2c2/flexcop.c:167: undefined reference to `dvb_dmx_swfilter'
ld: drivers/media/common/b2c2/flexcop.o: in function `flexcop_dvb_init':
drivers/media/common/b2c2/flexcop.c:137: undefined reference to
`dvb_dmxdev_release'
ld: drivers/media/common/b2c2/flexcop.c:139: undefined reference to
`dvb_dmx_release'
ld: drivers/media/common/b2c2/flexcop.c:141: undefined reference to
`dvb_unregister_adapter'
ld: drivers/media/common/b2c2/flexcop-fe-tuner.o: in function
`flexcop_frontend_init':
drivers/media/common/b2c2/flexcop-fe-tuner.c:694: undefined reference to
`dvb_frontend_detach'
ld: drivers/media/common/b2c2/flexcop-fe-tuner.o: in function
`flexcop_frontend_exit':
drivers/media/common/b2c2/flexcop-fe-tuner.c:717: undefined reference to
`dvb_unregister_frontend'
ld: drivers/media/common/b2c2/flexcop-fe-tuner.c:718: undefined reference to
`dvb_frontend_detach'
ld: drivers/media/common/b2c2/flexcop-fe-tuner.o: in function
`flexcop_frontend_init':
drivers/media/common/b2c2/flexcop-fe-tuner.c:704: undefined reference to
`dvb_register_frontend'
ld: drivers/media/common/b2c2/flexcop-fe-tuner.c:706: undefined reference to
`dvb_frontend_detach'
ld: drivers/media/common/b2c2/flexcop-i2c.o: in function `flexcop_i2c_init':
drivers/media/common/b2c2/flexcop-i2c.c:250: undefined reference to
`i2c_add_adapter'
ld: drivers/media/common/b2c2/flexcop-i2c.c:254: undefined reference to
`i2c_add_adapter'
ld: drivers/media/common/b2c2/flexcop-i2c.c:258: undefined reference to
`i2c_add_adapter'
ld: drivers/media/common/b2c2/flexcop-i2c.c:266: undefined reference to
`i2c_del_adapter'
ld: drivers/media/common/b2c2/flexcop-i2c.c:268: undefined reference to
`i2c_del_adapter'
ld: drivers/media/common/b2c2/flexcop-i2c.o: in function `flexcop_i2c_exit':
drivers/media/common/b2c2/flexcop-i2c.c:275: undefined reference to
`i2c_del_adapter'
ld: drivers/media/common/b2c2/flexcop-i2c.c:276: undefined reference to
`i2c_del_adapter'
ld: drivers/media/common/b2c2/flexcop-i2c.c:277: undefined reference to
`i2c_del_adapter'
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-5.4-stable
git checkout 9c8aa25e2955df58dae59e409ec1bc7f850935d9
vim +29 drivers/media/tuners/tuner-i2c.h
db8a695658cda2 drivers/media/video/tuner-i2c.h Michael Krufky 2007-08-21 23
ceefaf5d8e0441 drivers/media/tuners/tuner-i2c.h Mauro Carvalho Chehab 2015-06-22 24
static inline int tuner_i2c_xfer_send(struct tuner_i2c_props *props,
ceefaf5d8e0441 drivers/media/tuners/tuner-i2c.h Mauro Carvalho Chehab 2015-06-22 25
unsigned char *buf, int len)
db8a695658cda2 drivers/media/video/tuner-i2c.h Michael Krufky 2007-08-21 26 {
db8a695658cda2 drivers/media/video/tuner-i2c.h Michael Krufky 2007-08-21 27
struct i2c_msg msg = { .addr = props->addr, .flags = 0,
db8a695658cda2 drivers/media/video/tuner-i2c.h Michael Krufky 2007-08-21 28
.buf = buf, .len = len };
db8a695658cda2 drivers/media/video/tuner-i2c.h Michael Krufky 2007-08-21 @29 int
ret = i2c_transfer(props->adap, &msg, 1);
db8a695658cda2 drivers/media/video/tuner-i2c.h Michael Krufky 2007-08-21 30
db8a695658cda2 drivers/media/video/tuner-i2c.h Michael Krufky 2007-08-21 31
return (ret == 1) ? len : ret;
db8a695658cda2 drivers/media/video/tuner-i2c.h Michael Krufky 2007-08-21 32 }
db8a695658cda2 drivers/media/video/tuner-i2c.h Michael Krufky 2007-08-21 33
:::::: The code at line 29 was first introduced by commit
:::::: db8a695658cda21eacfa2a5e3b15e8964bfb93ef V4L/DVB (6127): tuner: kill i2c_client
interface to tuner sub-drivers
:::::: TO: Michael Krufky <mkrufky(a)linuxtv.org>
:::::: CC: Mauro Carvalho Chehab <mchehab(a)infradead.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org