Search Linux Wireless

[wireless-next:main 34/56] drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:7668:30: sparse: sparse: symbol 'rtl8xxxu_limits' was not declared. Should it be static?

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
head:   ece90a8622320bf5a24d3326da1f8e109891573c
commit: 1cd165adf314f6bf25cde58f02f4ff51d01730b0 [34/56] wifi: rtl8xxxu: declare concurrent mode support for 8188f
config: riscv-randconfig-r132-20240116 (https://download.01.org/0day-ci/archive/20240117/202401170132.Yz1gBFOg-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240117/202401170132.Yz1gBFOg-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401170132.Yz1gBFOg-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
   drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:5623:40: sparse: sparse: invalid assignment: |=
   drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:5623:40: sparse:    left side has type restricted __le32
   drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:5623:40: sparse:    right side has type unsigned long
>> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:7668:30: sparse: sparse: symbol 'rtl8xxxu_limits' was not declared. Should it be static?
>> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:7673:36: sparse: sparse: symbol 'rtl8xxxu_combinations' was not declared. Should it be static?
   drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c: note: in included file (through include/linux/rculist.h, include/linux/pid.h, include/linux/sched.h):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true

vim +/rtl8xxxu_limits +7668 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c

  7667	
> 7668	struct ieee80211_iface_limit rtl8xxxu_limits[] = {
  7669		{ .max = 2, .types = BIT(NL80211_IFTYPE_STATION), },
  7670		{ .max = 1, .types = BIT(NL80211_IFTYPE_AP), },
  7671	};
  7672	
> 7673	struct ieee80211_iface_combination rtl8xxxu_combinations[] = {
  7674		{
  7675			.limits = rtl8xxxu_limits,
  7676			.n_limits = ARRAY_SIZE(rtl8xxxu_limits),
  7677			.max_interfaces = 2,
  7678			.num_different_channels = 1,
  7679		},
  7680	};
  7681	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux