[PATCH] ath10k: consolidate if statements in ath10k_wmi_event_mgmt_rx

kbuild test robot lkp at intel.com
Tue Oct 20 11:59:50 PDT 2015


Hi Manikanta,

[auto build test ERROR on wireless-drivers/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/manikanta-pubbisetty-gmail-com/ath10k-consolidate-if-statements-in-ath10k_wmi_event_mgmt_rx/20151021-023414
config: xtensa-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_wmi_event_mgmt_rx':
>> drivers/net/wireless/ath/ath10k/wmi.c:2204:7: error: 'rx_stats' undeclared (first use in this function)
         (rx_stats & (WMI_RX_STATUS_ERR_DECRYPT |
          ^
   drivers/net/wireless/ath/ath10k/wmi.c:2204:7: note: each undeclared identifier is reported only once for each function it appears in

vim +/rx_stats +2204 drivers/net/wireless/ath/ath10k/wmi.c

  2198		memset(status, 0, sizeof(*status));
  2199	
  2200		ath10k_dbg(ar, ATH10K_DBG_MGMT,
  2201			   "event mgmt rx status %08x\n", rx_status);
  2202	
  2203		if ((test_bit(ATH10K_CAC_RUNNING, &ar->dev_flags)) ||
> 2204		    (rx_stats & (WMI_RX_STATUS_ERR_DECRYPT |
  2205		    WMI_RX_STATUS_ERR_KEY_CACHE_MISS | WMI_RX_STATUS_ERR_CRC))) {
  2206			dev_kfree_skb(skb);
  2207			return 0;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 42331 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20151021/cb9f4e7a/attachment-0001.obj>


More information about the ath10k mailing list