All of lore.kernel.org
 help / color / mirror / Atom feed
* [nbd168-wireless:mt76 20/34] drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h:35:27: warning: 'cc_list_be' defined but not used
@ 2025-03-11 13:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-11 13:17 UTC (permalink / raw)
  To: Ming Yen Hsieh; +Cc: llvm, oe-kbuild-all, Felix Fietkau

tree:   https://github.com/nbd168/wireless mt76
head:   9b717a6cf418a48764fa88ff63fc595980564127
commit: afa9bec7ee2df76b1e3fabf9221116f7365107c7 [20/34] wifi: mt76: mt792x: extend MTCL of APCI to version3 for EHT control
config: sparc-randconfig-002-20250311 (https://download.01.org/0day-ci/archive/20250311/202503112103.Iuy6Ox55-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250311/202503112103.Iuy6Ox55-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/202503112103.Iuy6Ox55-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/net/wireless/mediatek/mt76/mt792x.h:12,
                    from drivers/net/wireless/mediatek/mt76/mt792x_dma.c:7:
>> drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h:35:27: warning: 'cc_list_be' defined but not used [-Wunused-const-variable=]
      35 | static const char * const cc_list_be[] = {
         |                           ^~~~~~~~~~
>> drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h:27:27: warning: 'cc_list_eu' defined but not used [-Wunused-const-variable=]
      27 | static const char * const cc_list_eu[] = {
         |                           ^~~~~~~~~~
>> drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h:20:27: warning: 'cc_list_all' defined but not used [-Wunused-const-variable=]
      20 | static const char * const cc_list_all[] = {
         |                           ^~~~~~~~~~~
--
   drivers/net/wireless/mediatek/mt76/mt7925/init.c: In function 'mt7925_regd_channel_update':
   drivers/net/wireless/mediatek/mt76/mt7925/init.c:105:26: warning: unused variable 'mdev' [-Wunused-variable]
     105 |         struct mt76_dev *mdev = &dev->mt76;
         |                          ^~~~
   In file included from drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:12,
                    from drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7,
                    from drivers/net/wireless/mediatek/mt76/mt7925/init.c:9:
   drivers/net/wireless/mediatek/mt76/mt7925/../mt792x_acpi_sar.h: At top level:
>> drivers/net/wireless/mediatek/mt76/mt7925/../mt792x_acpi_sar.h:35:27: warning: 'cc_list_be' defined but not used [-Wunused-const-variable=]
      35 | static const char * const cc_list_be[] = {
         |                           ^~~~~~~~~~
>> drivers/net/wireless/mediatek/mt76/mt7925/../mt792x_acpi_sar.h:27:27: warning: 'cc_list_eu' defined but not used [-Wunused-const-variable=]
      27 | static const char * const cc_list_eu[] = {
         |                           ^~~~~~~~~~
>> drivers/net/wireless/mediatek/mt76/mt7925/../mt792x_acpi_sar.h:20:27: warning: 'cc_list_all' defined but not used [-Wunused-const-variable=]
      20 | static const char * const cc_list_all[] = {
         |                           ^~~~~~~~~~~
--
   In file included from drivers/net/wireless/mediatek/mt76/mt7925/../mt792x.h:12,
                    from drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h:7,
                    from drivers/net/wireless/mediatek/mt76/mt7925/mac.c:7:
>> drivers/net/wireless/mediatek/mt76/mt7925/../mt792x_acpi_sar.h:35:27: warning: 'cc_list_be' defined but not used [-Wunused-const-variable=]
      35 | static const char * const cc_list_be[] = {
         |                           ^~~~~~~~~~
>> drivers/net/wireless/mediatek/mt76/mt7925/../mt792x_acpi_sar.h:27:27: warning: 'cc_list_eu' defined but not used [-Wunused-const-variable=]
      27 | static const char * const cc_list_eu[] = {
         |                           ^~~~~~~~~~
>> drivers/net/wireless/mediatek/mt76/mt7925/../mt792x_acpi_sar.h:20:27: warning: 'cc_list_all' defined but not used [-Wunused-const-variable=]
      20 | static const char * const cc_list_all[] = {
         |                           ^~~~~~~~~~~
--
   In file included from drivers/net/wireless/mediatek/mt76/mt7921/../mt792x.h:12,
                    from drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h:7,
                    from drivers/net/wireless/mediatek/mt76/mt7921/mac.c:7:
>> drivers/net/wireless/mediatek/mt76/mt7921/../mt792x_acpi_sar.h:35:27: warning: 'cc_list_be' defined but not used [-Wunused-const-variable=]
      35 | static const char * const cc_list_be[] = {
         |                           ^~~~~~~~~~
>> drivers/net/wireless/mediatek/mt76/mt7921/../mt792x_acpi_sar.h:27:27: warning: 'cc_list_eu' defined but not used [-Wunused-const-variable=]
      27 | static const char * const cc_list_eu[] = {
         |                           ^~~~~~~~~~
>> drivers/net/wireless/mediatek/mt76/mt7921/../mt792x_acpi_sar.h:20:27: warning: 'cc_list_all' defined but not used [-Wunused-const-variable=]
      20 | static const char * const cc_list_all[] = {
         |                           ^~~~~~~~~~~


vim +/cc_list_be +35 drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h

    19	
  > 20	static const char * const cc_list_all[] = {
    21		"00", "EU", "AR", "AU", "AZ", "BY", "BO", "BR",
    22		"CA", "CL", "CN", "ID", "JP", "MY", "MX", "ME",
    23		"MA", "NZ", "NG", "PH", "RU", "RS", "SG", "KR",
    24		"TW", "TH", "UA", "GB", "US", "VN", "KH", "PY",
    25	};
    26	
  > 27	static const char * const cc_list_eu[] = {
    28		"AD", "AT", "BE", "BG", "CY", "CZ", "HR", "DK",
    29		"EE", "FI", "FR", "DE", "GR", "HU", "IS", "IE",
    30		"IT", "LV", "LI", "LT", "LU", "MC", "MT", "NL",
    31		"NO", "PL", "PT", "RO", "SK", "SI", "ES", "SE",
    32		"CH",
    33	};
    34	
  > 35	static const char * const cc_list_be[] = {
    36		"AR", "BR", "BY", "CL", "IQ", "MX", "OM", "RU",
    37		"RW", "VN", "KR", "UA", "", "", "", "",
    38		"EU", "AT", "CN", "CA", "TW", "NZ", "PH", "UK",
    39		"US",
    40	};
    41	

-- 
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-03-11 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11 13:17 [nbd168-wireless:mt76 20/34] drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.h:35:27: warning: 'cc_list_be' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.