From: kernel test robot <lkp@intel.com>
To: Andreas Kemnade <andreas@kemnade.info>
Cc: oe-kbuild-all@lists.linux.dev, linux-input@vger.kernel.org,
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Subject: [dtor-input:next 18/20] drivers/input/misc/twl4030-pwrbutton.c:46:44: warning: 'twl6030_chipdata' defined but not used
Date: Mon, 22 Dec 2025 02:13:30 +0800 [thread overview]
Message-ID: <202512220251.jDE8tKup-lkp@intel.com> (raw)
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
reply other threads:[~2025-12-21 18:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202512220251.jDE8tKup-lkp@intel.com \
--to=lkp@intel.com \
--cc=andreas@kemnade.info \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).