Search Linux Wireless

Re: [PATCH v2] wifi: ath11k: Add rx histogram stats

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

 



Hi Maharaja,

kernel test robot noticed the following build warnings:

[auto build test WARNING on kvalo-ath/ath-next]
[cannot apply to wireless/main wireless-next/main linus/master v6.3-rc6 next-20230413]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Maharaja-Kennadyrajan/wifi-ath11k-Add-rx-histogram-stats/20230414-192912
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
patch link:    https://lore.kernel.org/r/20230414112603.601199-1-quic_mkenna%40quicinc.com
patch subject: [PATCH v2] wifi: ath11k: Add rx histogram stats
config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20230414/202304142106.PaDYMwe0-lkp@xxxxxxxxx/config)
compiler: ia64-linux-gcc (GCC) 12.1.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://github.com/intel-lab-lkp/linux/commit/8612657f6ce3fd8bd47a5c1b4ca0177e95a647f0
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Maharaja-Kennadyrajan/wifi-ath11k-Add-rx-histogram-stats/20230414-192912
        git checkout 8612657f6ce3fd8bd47a5c1b4ca0177e95a647f0
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/net/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202304142106.PaDYMwe0-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/ath/ath11k/debugfs_sta.c:242:13: warning: no previous prototype for 'legacy_rate_str' [-Wmissing-prototypes]
     242 | const char *legacy_rate_str(int legacy_rate_idx)
         |             ^~~~~~~~~~~~~~~


vim +/legacy_rate_str +242 drivers/net/wireless/ath/ath11k/debugfs_sta.c

   241	
 > 242	const char *legacy_rate_str(int legacy_rate_idx)
   243	{
   244		switch (legacy_rate_idx) {
   245		case 0:
   246			return "1Mbps";
   247		case 1:
   248			return "2Mbps";
   249		case 2:
   250			return "5.5Mbps";
   251		case 3:
   252			return "6Mbps";
   253		case 4:
   254			return "9Mbps";
   255		case 5:
   256			return "11Mbps";
   257		case 6:
   258			return "12Mbps";
   259		case 7:
   260			return "18Mbps";
   261		case 8:
   262			return "18Mbps";
   263		case 9:
   264			return "24Mbps";
   265		case 10:
   266			return "36Mbps";
   267		case 11:
   268			return "48Mbps";
   269		case 12:
   270			return "54Mbps";
   271		default:
   272			return "invalid legacy rate index";
   273		}
   274	}
   275	

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



[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