Re: [PATCH v2 1/3] Input: ads7846 - Convert to use software nodes

From: kernel test robot
Date: Fri May 05 2023 - 05:41:21 EST


Hi Linus,

kernel test robot noticed the following build errors:

[auto build test ERROR on 348551ddaf311c76b01cdcbaf61b6fef06a49144]

url: https://github.com/intel-lab-lkp/linux/commits/Linus-Walleij/Input-ads7846-Convert-to-use-software-nodes/20230505-162601
base: 348551ddaf311c76b01cdcbaf61b6fef06a49144
patch link: https://lore.kernel.org/r/20230430-nokia770-regression-v2-1-984ed3ca5444%40linaro.org
patch subject: [PATCH v2 1/3] Input: ads7846 - Convert to use software nodes
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20230505/202305051726.wOn3I3W1-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/9708c9277cc820e52916ddf795926d3254bb5eed
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Linus-Walleij/Input-ads7846-Convert-to-use-software-nodes/20230505-162601
git checkout 9708c9277cc820e52916ddf795926d3254bb5eed
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 olddefconfig
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/input/touchscreen/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202305051726.wOn3I3W1-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/input/touchscreen/ads7846.c:1406:35: error: 'ads7846_dt_ids' undeclared here (not in a function); did you mean 'ads7846_cmds'?
1406 | .of_match_table = ads7846_dt_ids,
| ^~~~~~~~~~~~~~
| ads7846_cmds


vim +1406 drivers/input/touchscreen/ads7846.c

1401
1402 static struct spi_driver ads7846_driver = {
1403 .driver = {
1404 .name = "ads7846",
1405 .pm = pm_sleep_ptr(&ads7846_pm),
> 1406 .of_match_table = ads7846_dt_ids,
1407 },
1408 .probe = ads7846_probe,
1409 .remove = ads7846_remove,
1410 };
1411

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests