linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Wen Gong <wgong@codeaurora.org>, ath11k@lists.infradead.org
Cc: kbuild-all@lists.01.org, linux-wireless@vger.kernel.org,
	wgong@codeaurora.org
Subject: Re: [PATCH 3/3] ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base
Date: Mon, 11 Oct 2021 19:59:37 +0800	[thread overview]
Message-ID: <202110111906.V4CHUuxw-lkp@intel.com> (raw)
In-Reply-To: <20211011081938.30327-4-wgong@codeaurora.org>

[-- Attachment #1: Type: text/plain, Size: 2668 bytes --]

Hi Wen,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on kvalo-ath/ath-next]
[also build test WARNING on v5.15-rc5 next-20211011]
[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/Wen-Gong/ath11k-add-feature-for-device-recovery/20211011-162222
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: ia64-randconfig-r012-20211011 (attached as .config)
compiler: ia64-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/a741690b3c6676fe11f42d6e9740b5d6f5fb91fa
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Wen-Gong/ath11k-add-feature-for-device-recovery/20211011-162222
        git checkout a741690b3c6676fe11f42d6e9740b5d6f5fb91fa
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=ia64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/ath11k/mac.c: In function 'ath11k_mac_wait_reconfigure':
>> drivers/net/wireless/ath/ath11k/mac.c:5187:14: warning: variable 'time_left' set but not used [-Wunused-but-set-variable]
    5187 |         long time_left;
         |              ^~~~~~~~~


vim +/time_left +5187 drivers/net/wireless/ath/ath11k/mac.c

  5184	
  5185	static void ath11k_mac_wait_reconfigure(struct ath11k_base *ab)
  5186	{
> 5187		long time_left;
  5188		int recovery_start_count;
  5189	
  5190		if (!ab->is_reset)
  5191			return;
  5192	
  5193		recovery_start_count = atomic_inc_return(&ab->recovery_start_count);
  5194		ath11k_dbg(ab, ATH11K_DBG_MAC, "recovery start count %d\n", recovery_start_count);
  5195	
  5196		if (recovery_start_count == ab->num_radios) {
  5197			complete(&ab->recovery_start);
  5198			ath11k_dbg(ab, ATH11K_DBG_MAC, "recovery started success\n");
  5199		}
  5200	
  5201		ath11k_dbg(ab, ATH11K_DBG_MAC, "waiting reconfigure...\n");
  5202	
  5203		time_left = wait_for_completion_timeout(&ab->reconfigure_complete,
  5204							ATH11K_RECONFIGURE_TIMEOUT_HZ);
  5205	}
  5206	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33893 bytes --]

      reply	other threads:[~2021-10-11 12:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11  8:19 [PATCH 0/3] ath11k: add feature for device recovery Wen Gong
2021-10-11  8:19 ` [PATCH 1/3] ath11k: add ath11k_qmi_free_resource() for recovery Wen Gong
2021-10-11  8:19 ` [PATCH 2/3] ath11k: add support for device recovery for QCA6390 Wen Gong
2021-10-11  8:19 ` [PATCH 3/3] ath11k: add synchronization operation between reconfigure of mac80211 and ath11k_base Wen Gong
2021-10-11 11:59   ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110111906.V4CHUuxw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ath11k@lists.infradead.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=wgong@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).