Hi Sowmiya, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on ath6kl/ath-next] [cannot apply to v5.8-rc3 next-20200702] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Sowmiya-Sree-Elavalagan/ath11k-cold-boot-calibration-support/20200702-222828 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next config: mips-allyesconfig (attached as .config) compiler: mips-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 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/net/wireless/ath/ath11k/ahb.c:641:5: warning: no previous prototype for 'ath11k_ahb_fwreset_from_cold_boot' [-Wmissing-prototypes] 641 | int ath11k_ahb_fwreset_from_cold_boot(struct ath11k_base *ab) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- >> drivers/net/wireless/ath/ath11k/qmi.c:2127:5: warning: no previous prototype for 'ath11k_qmi_process_coldboot_calibration' [-Wmissing-prototypes] 2127 | int ath11k_qmi_process_coldboot_calibration(struct ath11k_base *ab) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/ath11k_ahb_fwreset_from_cold_boot +641 drivers/net/wireless/ath/ath11k/ahb.c 640 > 641 int ath11k_ahb_fwreset_from_cold_boot(struct ath11k_base *ab) 642 { 643 int timeout; 644 645 if (ath11k_cold_boot_cal == 0 || ab->qmi.cal_done) 646 return 0; 647 648 ath11k_dbg(ab, ATH11K_DBG_AHB, "wait for cold boot done\n"); 649 timeout = wait_event_timeout(ab->qmi.cold_boot_waitq, 650 (ab->qmi.cal_done == 1), 651 ATH11K_COLD_BOOT_FW_RESET_DELAY); 652 if (timeout <= 0) { 653 ath11k_warn(ab, "Coldboot Calibration timed out\n"); 654 return -ETIMEDOUT; 655 } 656 657 /* reset the firmware */ 658 ath11k_ahb_power_down(ab); 659 ath11k_ahb_power_up(ab); 660 661 ath11k_dbg(ab, ATH11K_DBG_AHB, "exit wait for cold boot done\n"); 662 return 0; 663 } 664 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip