Hi Seevalamuthu,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on kvalo-ath/ath-next]
[also build test ERROR on v5.15 next-20211112]
[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]
url:
https://github.com/0day-ci/linux/commits/Seevalamuthu-Mariappan/ath11k-Ch...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/1675576a1f451a316314c6ae5b92e5e62...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Seevalamuthu-Mariappan/ath11k-Check-supported-hardware-version/20211112-150408
git checkout 1675576a1f451a316314c6ae5b92e5e6298ed61b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/net/wireless/ath/ath11k/core.c:11:
> drivers/net/wireless/ath/ath11k/core.h:924:18: error:
'ath11k_hw_version' defined but not used [-Werror=unused-const-variable=]
924 | static const u32 ath11k_hw_version[] = {
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/ath11k_hw_version +924 drivers/net/wireless/ath/ath11k/core.h
923
924 static const u32 ath11k_hw_version[] = {
925 [ATH11K_HW_IPQ8074] = ATH11K_HW_VERSION_HW20,
926 [ATH11K_HW_QCA6390_HW20] = ATH11K_HW_VERSION_HW20,
927 [ATH11K_HW_IPQ6018_HW10] = ATH11K_HW_VERSION_HW10,
928 [ATH11K_HW_QCN9074_HW10] = ATH11K_HW_VERSION_HW10,
929 [ATH11K_HW_WCN6855_HW20] = ATH11K_HW_VERSION_HW20,
930 };
931
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org