drivers/input/touchscreen/wdt87xx_i2c.c:1166:36: warning: 'wdt87xx_acpi_id' defined but not used
kernel test robot
build botHi Johannes,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 595523945be0a5a2f12a1c04772383293fbc04a1 commit: 0bbadafdc49d11a1836e5946f517d18cceaea6c8 um: allow disabling NO_IOMEM date: 3 years, 7 months ago config: um-randconfig-002-20230916 (https://download.01.org/0day-ci/archive/20250118/[email protected]/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250118/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/input/touchscreen/wdt87xx_i2c.c:1166:36: warning: 'wdt87xx_acpi_id' defined but not used [-Wunused-const-variable=]
1166 | static const struct acpi_device_id wdt87xx_acpi_id[] = {
| ^~~~~~~~~~~~~~~Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on [n]: DEBUG_KERNEL [=y] && LOCK_DEBUGGING_SUPPORT [=y] && (FRAME_POINTER [=n] || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86) Selected by [y]:
- LOCK_STAT [=y] && DEBUG_KERNEL [=y] && LOCK_DEBUGGING_SUPPORT [=y]
- DEBUG_LOCK_ALLOC [=y] && DEBUG_KERNEL [=y] && LOCK_DEBUGGING_SUPPORT [=y]
vim +/wdt87xx_acpi_id +1166 drivers/input/touchscreen/wdt87xx_i2c.c
3e30c11c8a902d HungNien Chen 2015-06-15 1165
3e30c11c8a902d HungNien Chen 2015-06-15 @1166 static const struct acpi_device_id wdt87xx_acpi_id[] = {
3e30c11c8a902d HungNien Chen 2015-06-15 1167 { "WDHT0001", 0 },
3e30c11c8a902d HungNien Chen 2015-06-15 1168 { }
3e30c11c8a902d HungNien Chen 2015-06-15 1169 };
3e30c11c8a902d HungNien Chen 2015-06-15 1170 MODULE_DEVICE_TABLE(acpi, wdt87xx_acpi_id);3e30c11c8a902d HungNien Chen 2015-06-15 1171
:::::: The code at line 1166 was first introduced by commit
:::::: 3e30c11c8a902de350281a0d821e17cdb45ef156 Input: add a driver for wdt87xx touchscreen controller
:::::: TO: HungNien Chen <[email protected]> :::::: CC: Dmitry Torokhov <[email protected]>
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki