tree: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master head: 735a48481cca453525d9199772f9c3733a47cff4 commit: 80d55154b2f8f5298f14fb83a0fb99cacb043c07 [8/13] mac80211: minstrel_ht: significantly redesign the rate probing strategy config: alpha-randconfig-r001-20210213 (attached as .config) compiler: alpha-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git/commit/?id=80d55154b2f8f5298f14fb83a0fb99cacb043c07 git remote add mac80211-next https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git git fetch --no-tags mac80211-next master git checkout 80d55154b2f8f5298f14fb83a0fb99cacb043c07 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): net/mac80211/rc80211_minstrel_ht.c: In function 'minstrel_ht_next_inc_rate': >> net/mac80211/rc80211_minstrel_ht.c:829:34: warning: variable 'mg' set but not used [-Wunused-but-set-variable] 829 | struct minstrel_mcs_group_data *mg; | ^~ net/mac80211/rc80211_minstrel_ht.c: In function 'minstrel_ht_next_jump_rate': net/mac80211/rc80211_minstrel_ht.c:894:34: warning: variable 'mg' set but not used [-Wunused-but-set-variable] 894 | struct minstrel_mcs_group_data *mg; | ^~ vim +/mg +829 net/mac80211/rc80211_minstrel_ht.c 820 821 /* 822 * Incremental update rates: 823 * Flip through groups and pick the first group rate that is faster than the 824 * highest currently selected rate 825 */ 826 static u16 827 minstrel_ht_next_inc_rate(struct minstrel_ht_sta *mi, u32 fast_rate_dur) 828 { > 829 struct minstrel_mcs_group_data *mg; 830 u8 type = MINSTREL_SAMPLE_TYPE_INC; 831 int i, index = 0; 832 u8 group; 833 834 group = mi->sample[type].sample_group; 835 for (i = 0; i < ARRAY_SIZE(minstrel_mcs_groups); i++) { 836 group = (group + 1) % ARRAY_SIZE(minstrel_mcs_groups); 837 mg = &mi->groups[group]; 838 839 index = minstrel_ht_group_min_rate_offset(mi, group, 840 fast_rate_dur); 841 if (index < 0) 842 continue; 843 844 index = MI_RATE(group, index & 0xf); 845 if (!minstrel_ht_find_sample_rate(mi, type, index)) 846 goto out; 847 } 848 index = 0; 849 850 out: 851 mi->sample[type].sample_group = group; 852 853 return index; 854 } 855 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip