Re: [PATCH v3] Input: add support for the Samsung S6SY761 touchscreen

From: kbuild test robot
Date: Mon Sep 25 2017 - 21:03:15 EST


Hi Andi,

[auto build test ERROR on input/next]
[also build test ERROR on v4.14-rc2 next-20170922]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Andi-Shyti/Input-add-support-for-the-Samsung-S6SY761-touchscreen/20170926-080648
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64

All error/warnings (new ones prefixed by >>):

In file included from drivers/input/touchscreen/s6sy761.c:19:0:
>> drivers/input/touchscreen/s6sy761.c:539:26: error: 'stmfts_id' undeclared here (not in a function)
MODULE_DEVICE_TABLE(i2c, stmfts_id);
^
include/linux/module.h:212:21: note: in definition of macro 'MODULE_DEVICE_TABLE'
extern const typeof(name) __mod_##type##__##name##_device_table \
^~~~
>> include/linux/module.h:212:27: error: '__mod_i2c__stmfts_id_device_table' aliased to undefined symbol 'stmfts_id'
extern const typeof(name) __mod_##type##__##name##_device_table \
^
>> drivers/input/touchscreen/s6sy761.c:539:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(i2c, stmfts_id);
^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/input//touchscreen/s6sy761.c:19:0:
drivers/input//touchscreen/s6sy761.c:539:26: error: 'stmfts_id' undeclared here (not in a function)
MODULE_DEVICE_TABLE(i2c, stmfts_id);
^
include/linux/module.h:212:21: note: in definition of macro 'MODULE_DEVICE_TABLE'
extern const typeof(name) __mod_##type##__##name##_device_table \
^~~~
>> include/linux/module.h:212:27: error: '__mod_i2c__stmfts_id_device_table' aliased to undefined symbol 'stmfts_id'
extern const typeof(name) __mod_##type##__##name##_device_table \
^
drivers/input//touchscreen/s6sy761.c:539:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(i2c, stmfts_id);
^~~~~~~~~~~~~~~~~~~

vim +/stmfts_id +539 drivers/input/touchscreen/s6sy761.c

534
535 static const struct i2c_device_id s6sy761_id[] = {
536 { "s6sy761", 0 },
537 { },
538 };
> 539 MODULE_DEVICE_TABLE(i2c, stmfts_id);
540

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip