[PATCH] ath10k: Allow setting coverage class

kbuild test robot lkp at intel.com
Wed Jul 27 03:28:08 PDT 2016


Hi,

[auto build test ERROR on ath6kl/ath-next]
[also build test ERROR on next-20160727]
[cannot apply to v4.7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Benjamin-Berg/ath10k-Allow-setting-coverage-class/20160727-163809
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=sparc64 

All errors (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/wmi.c: In function 'ath10k_ath9k_set_pdev_coverage_class':
>> drivers/net/wireless/ath/ath10k/wmi.c:3176:2: error: expected ';' before 'timeout'
     timeout = timeout & ATH9K_MAC_TIME_OUT_ACK;
     ^
   drivers/net/wireless/ath/ath10k/wmi.c:3181:2: error: expected ';' before 'timeout'
     timeout = timeout >> ATH9K_MAC_TIME_OUT_CTS_S;
     ^
   drivers/net/wireless/ath/ath10k/wmi.c:3185:2: error: expected ';' before 'timeout'
     timeout = timeout & ATH9K_MAC_TIME_OUT_CTS;
     ^

vim +3176 drivers/net/wireless/ath/ath10k/wmi.c

  3170		/* Update ack timeout (lower halfword). */
  3171		timeout = (timeout_reg & ATH9K_MAC_TIME_OUT_ACK);
  3172		timeout = timeout >> ATH9K_MAC_TIME_OUT_ACK_S;
  3173		timeout += 3 * value * counters_freq_mhz;
  3174		timeout = min_t(u32, timeout, ATH9K_MAC_TIME_OUT_MAX);
  3175		timeout = (timeout << ATH9K_MAC_TIME_OUT_ACK_S)
> 3176		timeout = timeout & ATH9K_MAC_TIME_OUT_ACK;
  3177		timeout_reg = (timeout_reg & ~ATH9K_MAC_TIME_OUT_ACK) | timeout;
  3178	
  3179		/* Update cts timeout (upper halfword). */

---
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: 46490 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20160727/1e55d165/attachment-0001.obj>


More information about the ath10k mailing list