tree:
https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
head: 918e2844d940da7c624262a7aa327615d3eb5abd
commit: 04e49867fad1f4a0739862bb15133f96ace1d190 [2481/2485] Input: add support for Azoteq
IQS269A
config: sparc-randconfig-r036-20200518 (attached as .config)
compiler: sparc-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 04e49867fad1f4a0739862bb15133f96ace1d190
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
> drivers/input/misc/iqs269a.c:1829:1: warning: data definition has
no type or storage class
1829 | module_i2c_driver(iqs269_i2c_driver);
| ^~~~~~~~~~~~~~~~~
> drivers/input/misc/iqs269a.c:1829:1: error: type defaults to
'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
> drivers/input/misc/iqs269a.c:1829:1: warning: parameter names (without types) in
function declaration
drivers/input/misc/iqs269a.c:1821:26: warning:
'iqs269_i2c_driver' defined but not used [-Wunused-variable]
1821 | static struct i2c_driver iqs269_i2c_driver = {
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_byte_reg_read':
> drivers/base/regmap/regmap-i2c.c:25:8: error: implicit
declaration of function 'i2c_smbus_read_byte_data'
[-Werror=implicit-function-declaration]
25 | ret = i2c_smbus_read_byte_data(i2c,
reg);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_byte_reg_write':
> drivers/base/regmap/regmap-i2c.c:43:9: error: implicit
declaration of function 'i2c_smbus_write_byte_data'
[-Werror=implicit-function-declaration]
43 | return i2c_smbus_write_byte_data(i2c,
reg, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_word_reg_read':
> drivers/base/regmap/regmap-i2c.c:61:8: error: implicit
declaration of function 'i2c_smbus_read_word_data'
[-Werror=implicit-function-declaration]
61 | ret = i2c_smbus_read_word_data(i2c,
reg);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_word_reg_write':
> drivers/base/regmap/regmap-i2c.c:79:9: error: implicit
declaration of function 'i2c_smbus_write_word_data'
[-Werror=implicit-function-declaration]
79 | return i2c_smbus_write_word_data(i2c,
reg, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_word_read_swapped':
> drivers/base/regmap/regmap-i2c.c:97:8: error: implicit
declaration of function 'i2c_smbus_read_word_swapped'
[-Werror=implicit-function-declaration]
97 | ret = i2c_smbus_read_word_swapped(i2c,
reg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_word_write_swapped':
> drivers/base/regmap/regmap-i2c.c:115:9: error: implicit
declaration of function 'i2c_smbus_write_word_swapped'
[-Werror=implicit-function-declaration]
115 | return
i2c_smbus_write_word_swapped(i2c, reg, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_i2c_write':
> drivers/base/regmap/regmap-i2c.c:129:8: error: implicit
declaration of function 'i2c_master_send' [-Werror=implicit-function-declaration]
129 | ret = i2c_master_send(i2c, data, count);
| ^~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_i2c_gather_write':
> drivers/base/regmap/regmap-i2c.c:150:7: error: implicit
declaration of function 'i2c_check_functionality'
[-Werror=implicit-function-declaration]
150 | if
(!i2c_check_functionality(i2c->adapter, I2C_FUNC_NOSTART))
| ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/base/regmap/regmap-i2c.c:163:8: error: implicit
declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration]
163 | ret = i2c_transfer(i2c->adapter, xfer, 2);
| ^~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_i2c_smbus_i2c_write':
> drivers/base/regmap/regmap-i2c.c:218:9: error: implicit
declaration of function 'i2c_smbus_write_i2c_block_data'
[-Werror=implicit-function-declaration]
218 | return
i2c_smbus_write_i2c_block_data(i2c, ((u8 *)data)[0], count,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_i2c_smbus_i2c_read':
> drivers/base/regmap/regmap-i2c.c:233:8: error: implicit
declaration of function 'i2c_smbus_read_i2c_block_data'
[-Werror=implicit-function-declaration]
233 | ret =
i2c_smbus_read_i2c_block_data(i2c, ((u8 *)reg)[0], val_size, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +1829 drivers/input/misc/iqs269a.c
1820
1821 static struct i2c_driver iqs269_i2c_driver = {
1822 .driver = {
1823 .name = "iqs269a",
1824 .of_match_table = iqs269_of_match,
1825 .pm = &iqs269_pm,
1826 },
1827 .probe_new = iqs269_probe,
1828 };
1829 module_i2c_driver(iqs269_i2c_driver);
1830
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org