Messages in this thread | | | Date | Wed, 22 Feb 2023 04:05:21 +0800 | From | kernel test robot <> | Subject | drivers/input/touchscreen/sun4i-ts.c:392:34: warning: unused variable 'sun4i_ts_of_match' |
| |
Hi Paul,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9e58df973d2272e6e558965e7cb32453a4b380ff commit: c434b9f80b0923e6460031b0fd964f8b0bf3c6a6 MIPS: Kconfig: add MIPS_GENERIC_KERNEL symbol date: 2 years, 5 months ago config: mips-randconfig-c004-20230217 (https://download.01.org/0day-ci/archive/20230222/202302220342.AqAtycBB-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db89896bbbd2251fff457699635acbbedeead27f) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install mips cross compiling tool for clang build # apt-get install binutils-mipsel-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c434b9f80b0923e6460031b0fd964f8b0bf3c6a6 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout c434b9f80b0923e6460031b0fd964f8b0bf3c6a6 # save the config file COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202302220342.AqAtycBB-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/input/touchscreen/sun4i-ts.c:392:34: warning: unused variable 'sun4i_ts_of_match' [-Wunused-const-variable] static const struct of_device_id sun4i_ts_of_match[] = { ^ 1 warning generated.
vim +/sun4i_ts_of_match +392 drivers/input/touchscreen/sun4i-ts.c
f09f98d3240b7e Hans de Goede 2014-05-14 391 6decea7c5438e2 Hans de Goede 2014-05-14 @392 static const struct of_device_id sun4i_ts_of_match[] = { 6decea7c5438e2 Hans de Goede 2014-05-14 393 { .compatible = "allwinner,sun4i-a10-ts", }, 91c68a7c1d92b4 Hans de Goede 2015-03-08 394 { .compatible = "allwinner,sun5i-a13-ts", }, 43c0e2234021d7 Chen-Yu Tsai 2015-01-26 395 { .compatible = "allwinner,sun6i-a31-ts", }, 6decea7c5438e2 Hans de Goede 2014-05-14 396 { /* sentinel */ } 6decea7c5438e2 Hans de Goede 2014-05-14 397 }; 6decea7c5438e2 Hans de Goede 2014-05-14 398 MODULE_DEVICE_TABLE(of, sun4i_ts_of_match); 6decea7c5438e2 Hans de Goede 2014-05-14 399
:::::: The code at line 392 was first introduced by commit :::::: 6decea7c5438e2955f64e2513ec9a2fac7602a7d Input: add driver for Allwinner sunxi SoC's rtp controller
:::::: TO: Hans de Goede <hdegoede@redhat.com> :::::: CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
| |