Search Linux Wireless

Re: [PATCH v2] mac80211: allow not sending MIC up from driver for HW crypto

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sara,

[auto build test WARNING on mac80211-next/master]
[also build test WARNING on v4.5-rc5 next-20160223]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Emmanuel-Grumbach/mac80211-allow-not-sending-MIC-up-from-driver-for-HW-crypto/20160224-043311
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/htt_rx.c: In function 'ath10k_process_rx':
>> drivers/net/wireless/ath/ath10k/htt_rx.c:982:6: warning: format '%x' expects argument of type 'unsigned int', but argument 20 has type 'u64 {aka long long unsigned int}' [-Wformat=]
         "rx skb %p len %u peer %pM %s %s sn %u %s%s%s%s%s %srate_idx %u vht_nss %u freq %u band %u flag 0x%x fcs-err %i mic-err %i amsdu-more %i\n",
         ^
--
   In file included from include/linux/printk.h:6:0,
                    from include/linux/kernel.h:13,
                    from include/linux/skbuff.h:17,
                    from include/linux/if_ether.h:23,
                    from include/linux/etherdevice.h:25,
                    from drivers/net/wireless/ath/wcn36xx/txrx.h:20,
                    from drivers/net/wireless/ath/wcn36xx/txrx.c:19:
   drivers/net/wireless/ath/wcn36xx/txrx.c: In function 'wcn36xx_rx_skb':
>> include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'u64 {aka long long unsigned int}' [-Wformat=]
    #define KERN_SOH "\001"  /* ASCII Start Of Header */
                     ^
   include/linux/kern_levels.h:14:20: note: in expansion of macro 'KERN_SOH'
    #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
                       ^
>> drivers/net/wireless/ath/wcn36xx/wcn36xx.h:70:10: note: in expansion of macro 'KERN_DEBUG'
      printk(KERN_DEBUG pr_fmt(fmt), ##arg); \
             ^
>> drivers/net/wireless/ath/wcn36xx/txrx.c:60:2: note: in expansion of macro 'wcn36xx_dbg'
     wcn36xx_dbg(WCN36XX_DBG_RX, "status.flags=%x\n", status.flag);
     ^

vim +982 drivers/net/wireless/ath/ath10k/htt_rx.c

76f5329a Janusz Dziedzic 2014-07-28  966  
76f5329a Janusz Dziedzic 2014-07-28  967  	return out;
76f5329a Janusz Dziedzic 2014-07-28  968  }
76f5329a Janusz Dziedzic 2014-07-28  969  
85f6d7cf Janusz Dziedzic 2014-03-24  970  static void ath10k_process_rx(struct ath10k *ar,
85f6d7cf Janusz Dziedzic 2014-03-24  971  			      struct ieee80211_rx_status *rx_status,
85f6d7cf Janusz Dziedzic 2014-03-24  972  			      struct sk_buff *skb)
73539b40 Janusz Dziedzic 2014-03-24  973  {
73539b40 Janusz Dziedzic 2014-03-24  974  	struct ieee80211_rx_status *status;
76f5329a Janusz Dziedzic 2014-07-28  975  	struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data;
76f5329a Janusz Dziedzic 2014-07-28  976  	char tid[32];
73539b40 Janusz Dziedzic 2014-03-24  977  
85f6d7cf Janusz Dziedzic 2014-03-24  978  	status = IEEE80211_SKB_RXCB(skb);
85f6d7cf Janusz Dziedzic 2014-03-24  979  	*status = *rx_status;
73539b40 Janusz Dziedzic 2014-03-24  980  
7aa7a72a Michal Kazior   2014-08-25  981  	ath10k_dbg(ar, ATH10K_DBG_DATA,
76f5329a Janusz Dziedzic 2014-07-28 @982  		   "rx skb %p len %u peer %pM %s %s sn %u %s%s%s%s%s %srate_idx %u vht_nss %u freq %u band %u flag 0x%x fcs-err %i mic-err %i amsdu-more %i\n",
85f6d7cf Janusz Dziedzic 2014-03-24  983  		   skb,
85f6d7cf Janusz Dziedzic 2014-03-24  984  		   skb->len,
76f5329a Janusz Dziedzic 2014-07-28  985  		   ieee80211_get_SA(hdr),
76f5329a Janusz Dziedzic 2014-07-28  986  		   ath10k_get_tid(hdr, tid, sizeof(tid)),
76f5329a Janusz Dziedzic 2014-07-28  987  		   is_multicast_ether_addr(ieee80211_get_DA(hdr)) ?
76f5329a Janusz Dziedzic 2014-07-28  988  							"mcast" : "ucast",
76f5329a Janusz Dziedzic 2014-07-28  989  		   (__le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_SEQ) >> 4,
73539b40 Janusz Dziedzic 2014-03-24  990  		   status->flag == 0 ? "legacy" : "",

:::::: The code at line 982 was first introduced by commit
:::::: 76f5329a3dfe2f95dcc5664db603a2f1b0c9b825 ath10k: extend debug code for RX path

:::::: TO: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx>
:::::: CC: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux