From: kernel test robot <lkp@intel.com>
To: Tzuyi Chang <tychang@realtek.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-gpio@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>
Subject: [linusw-pinctrl:devel 16/25] drivers/pinctrl/realtek/pinctrl-rtd1315e.c:231:35: warning: 'rtd1315e_testmode_pins' defined but not used
Date: Wed, 27 Sep 2023 03:29:10 +0800 [thread overview]
Message-ID: <202309270313.mBEc9o1A-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head: caaeb8c551123e26e86270c8dec99a78f1f6fe0f
commit: aa399e6c6b24c9cc8a8e4ccc205457205cd41491 [16/25] pinctrl: realtek: Add pinctrl driver for RTD1315E
config: arm-randconfig-001-20230926 (https://download.01.org/0day-ci/archive/20230927/202309270313.mBEc9o1A-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230927/202309270313.mBEc9o1A-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/202309270313.mBEc9o1A-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/pinctrl/realtek/pinctrl-rtd1315e.c:231:35: warning: 'rtd1315e_testmode_pins' defined but not used [-Wunused-const-variable=]
231 | static const unsigned int rtd1315e_## _name ##_pins[] = { _pin }
| ^~~~~~~~~
drivers/pinctrl/realtek/pinctrl-rtd1315e.c:336:1: note: in expansion of macro 'DECLARE_RTD1315E_PIN'
336 | DECLARE_RTD1315E_PIN(RTD1315E_ISO_TESTMODE, testmode);
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/realtek/pinctrl-rtd1315e.c:231:35: warning: 'rtd1315e_reset_n_pins' defined but not used [-Wunused-const-variable=]
231 | static const unsigned int rtd1315e_## _name ##_pins[] = { _pin }
| ^~~~~~~~~
drivers/pinctrl/realtek/pinctrl-rtd1315e.c:335:1: note: in expansion of macro 'DECLARE_RTD1315E_PIN'
335 | DECLARE_RTD1315E_PIN(RTD1315E_ISO_RESET_N, reset_n);
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/realtek/pinctrl-rtd1315e.c:231:35: warning: 'rtd1315e_boot_sel_pins' defined but not used [-Wunused-const-variable=]
231 | static const unsigned int rtd1315e_## _name ##_pins[] = { _pin }
| ^~~~~~~~~
drivers/pinctrl/realtek/pinctrl-rtd1315e.c:334:1: note: in expansion of macro 'DECLARE_RTD1315E_PIN'
334 | DECLARE_RTD1315E_PIN(RTD1315E_ISO_BOOT_SEL, boot_sel);
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/realtek/pinctrl-rtd1315e.c:231:35: warning: 'rtd1315e_wd_rset_pins' defined but not used [-Wunused-const-variable=]
231 | static const unsigned int rtd1315e_## _name ##_pins[] = { _pin }
| ^~~~~~~~~
drivers/pinctrl/realtek/pinctrl-rtd1315e.c:333:1: note: in expansion of macro 'DECLARE_RTD1315E_PIN'
333 | DECLARE_RTD1315E_PIN(RTD1315E_ISO_WD_RSET, wd_rset);
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/realtek/pinctrl-rtd1315e.c:231:35: warning: 'rtd1315e_scan_switch_pins' defined but not used [-Wunused-const-variable=]
231 | static const unsigned int rtd1315e_## _name ##_pins[] = { _pin }
| ^~~~~~~~~
drivers/pinctrl/realtek/pinctrl-rtd1315e.c:332:1: note: in expansion of macro 'DECLARE_RTD1315E_PIN'
332 | DECLARE_RTD1315E_PIN(RTD1315E_ISO_SCAN_SWITCH, scan_switch);
| ^~~~~~~~~~~~~~~~~~~~
vim +/rtd1315e_testmode_pins +231 drivers/pinctrl/realtek/pinctrl-rtd1315e.c
229
230 #define DECLARE_RTD1315E_PIN(_pin, _name) \
> 231 static const unsigned int rtd1315e_## _name ##_pins[] = { _pin }
232
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-09-26 19:29 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=202309270313.mBEc9o1A-lkp@intel.com \
--to=lkp@intel.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tychang@realtek.com \
/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).