linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [dtor-input:next 18/20] drivers/input/misc/twl4030-pwrbutton.c:46:44: warning: 'twl6030_chipdata' defined but not used
@ 2025-12-21 18:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-21 18:13 UTC (permalink / raw)
  To: Andreas Kemnade; +Cc: oe-kbuild-all, linux-input, Dmitry Torokhov

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
head:   eeb2ea4b59df5fdcb697904fe6f49d5851543808
commit: ec8fce2a57e96e07d82d4e884430c2cb6c048998 [18/20] Input: twl4030 - add TWL603x power button
config: m68k-randconfig-r073-20251221 (https://download.01.org/0day-ci/archive/20251222/202512220251.jDE8tKup-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251222/202512220251.jDE8tKup-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512220251.jDE8tKup-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/input/misc/twl4030-pwrbutton.c:46:44: warning: 'twl6030_chipdata' defined but not used [-Wunused-const-variable=]
      46 | static const struct twl_pwrbutton_chipdata twl6030_chipdata = {
         |                                            ^~~~~~~~~~~~~~~~
>> drivers/input/misc/twl4030-pwrbutton.c:41:44: warning: 'twl4030_chipdata' defined but not used [-Wunused-const-variable=]
      41 | static const struct twl_pwrbutton_chipdata twl4030_chipdata = {
         |                                            ^~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for I2C_K1
   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && OF [=n]
   Selected by [y]:
   - MFD_SPACEMIT_P1 [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && I2C [=y]


vim +/twl6030_chipdata +46 drivers/input/misc/twl4030-pwrbutton.c

    40	
  > 41	static const struct twl_pwrbutton_chipdata twl4030_chipdata = {
    42		.status_reg = 0xf,
    43		.need_manual_irq = false,
    44	};
    45	
  > 46	static const struct twl_pwrbutton_chipdata twl6030_chipdata = {
    47		.status_reg = 0x2,
    48		.need_manual_irq = true,
    49	};
    50	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-21 18:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-21 18:13 [dtor-input:next 18/20] drivers/input/misc/twl4030-pwrbutton.c:46:44: warning: 'twl6030_chipdata' defined but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).