tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   1768331c836446a6bf9684c6b8ae2bfec14862cb
commit: 838830eead4c094195765338e7ff73d893bb25f9 [99/100] ath10k: add board 2 
API support
config: x86_64-allyesconfig (attached as .config)
reproduce:
        git checkout 838830eead4c094195765338e7ff73d893bb25f9
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/ath10k/core.c: In function 
'ath10k_core_parse_bd_ie_board':
>> drivers/net/wireless/ath/ath10k/core.c:639:19: warning: format '%d' expects 
>> argument of type 'int', but argument 3 has type 'size_t {aka long unsigned 
>> int}' [-Wformat=]
       ath10k_err(ar, "invalid ATH10K_BD_IE_BOARD length: %d < %d\n",
                      ^
   drivers/net/wireless/ath/ath10k/core.c:639:19: warning: format '%d' expects 
argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]

vim +639 drivers/net/wireless/ath/ath10k/core.c

   623          size_t board_ie_len;
   624          const void *board_ie_data;
   625  
   626          name_match_found = false;
   627  
   628          /* go through ATH10K_BD_IE_BOARD_ elements */
   629          while (buf_len > sizeof(struct ath10k_fw_ie)) {
   630                  hdr = buf;
   631                  board_ie_id = le32_to_cpu(hdr->id);
   632                  board_ie_len = le32_to_cpu(hdr->len);
   633                  board_ie_data = hdr->data;
   634  
   635                  buf_len -= sizeof(*hdr);
   636                  buf += sizeof(*hdr);
   637  
   638                  if (buf_len < ALIGN(board_ie_len, 4)) {
 > 639                          ath10k_err(ar, "invalid ATH10K_BD_IE_BOARD 
 > length: %d < %d\n",
   640                                     buf_len, ALIGN(board_ie_len, 4));
   641                          ret = -EINVAL;
   642                          goto out;
   643                  }
   644  
   645                  switch (board_ie_id) {
   646                  case ATH10K_BD_IE_BOARD_NAME:
   647                          ath10k_dbg_dump(ar, ATH10K_DBG_BOOT, "board 
name", "",

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Reply via email to