linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [linusw-pinctrl:devel 16/25] drivers/pinctrl/realtek/pinctrl-rtd1315e.c:231:35: warning: 'rtd1315e_testmode_pins' defined but not used
@ 2023-09-26 19:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-26 19:29 UTC (permalink / raw)
  To: Tzuyi Chang; +Cc: oe-kbuild-all, linux-gpio, Linus Walleij

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

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

only message in thread, other threads:[~2023-09-26 19:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-26 19:29 [linusw-pinctrl:devel 16/25] drivers/pinctrl/realtek/pinctrl-rtd1315e.c:231:35: warning: 'rtd1315e_testmode_pins' 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).