Re: [groeck-staging:hwmon-next 45/81] drivers/hwmon/pmbus/tps546d24.c:50:34: warning: 'tps546d24_of_match' defined but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/25/22 14:03, kernel test robot wrote:
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
head:   cbc6a25e35c03c8185549669c94103c70e44932e
commit: 009aeddecef3fd3514171af0d53b6ee8606f9c94 [45/81] hwmon: (pmbus) Add driver for the TEXAS TPS546D24 Buck Converter.
config: i386-randconfig-r036-20220926
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
         # https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/commit/?id=009aeddecef3fd3514171af0d53b6ee8606f9c94
         git remote add groeck-staging https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
         git fetch --no-tags groeck-staging hwmon-next
         git checkout 009aeddecef3fd3514171af0d53b6ee8606f9c94
         # save the config file
         mkdir build_dir && cp config build_dir/.config
         make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/hwmon/pmbus/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

drivers/hwmon/pmbus/tps546d24.c:50:34: warning: 'tps546d24_of_match' defined but not used [-Wunused-const-variable=]
       50 | static const struct of_device_id tps546d24_of_match[] = {
          |                                  ^~~~~~~~~~~~~~~~~~



Fixed in hwmon-next.

Thanks,
Guenter

vim +/tps546d24_of_match +50 drivers/hwmon/pmbus/tps546d24.c

     49	
   > 50	static const struct of_device_id tps546d24_of_match[] = {
     51		{.compatible = "ti,tps546d24"},
     52		{}
     53	};
     54	MODULE_DEVICE_TABLE(of, tps546d24_of_match);
     55	





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux