Hi Per,

[auto build test WARNING on wireless-drivers-next/master]
[also build test WARNING on v4.6-rc3 next-20160412]
[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/per-forlin-gmail-com/brcmfmac-Decrease-8021x_cnt-for-dropped-packets/20160413-045216
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git 
master
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 warnings (new ones prefixed by >>):

   drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c: In function 
'brcmf_proto_bcdc_txdata':
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c:336:3: warning: 
>> passing argument 3 of 'brcmf_proto_bcdc_hdrpull' from incompatible pointer 
>> type
      brcmf_proto_bcdc_hdrpull(drvr, false, &ifidx, pktbuf);
      ^
   drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c:277:1: note: 
expected 'struct sk_buff *' but argument is of type 'int *'
    brcmf_proto_bcdc_hdrpull(struct brcmf_pub *drvr, bool do_fws,
    ^
   drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c:336:3: warning: 
passing argument 4 of 'brcmf_proto_bcdc_hdrpull' from incompatible pointer type
      brcmf_proto_bcdc_hdrpull(drvr, false, &ifidx, pktbuf);
      ^
   drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c:277:1: note: 
expected 'struct brcmf_if **' but argument is of type 'struct sk_buff *'
    brcmf_proto_bcdc_hdrpull(struct brcmf_pub *drvr, bool do_fws,
    ^

vim +/brcmf_proto_bcdc_hdrpull +336 
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c

   320  
   321          if (pktbuf->len == 0)
   322                  return -ENODATA;
   323  
   324          *ifp = tmp_if;
   325          return 0;
   326  }
   327  
   328  static int
   329  brcmf_proto_bcdc_txdata(struct brcmf_pub *drvr, int ifidx, u8 offset,
   330                          struct sk_buff *pktbuf)
   331  {
   332          int res;
   333          brcmf_proto_bcdc_hdrpush(drvr, ifidx, offset, pktbuf);
   334          res = brcmf_bus_txdata(drvr->bus_if, pktbuf);
   335          if (res < 0)
 > 336                  brcmf_proto_bcdc_hdrpull(drvr, false, &ifidx, pktbuf);
   337          return res;
   338  }
   339  
   340  static void
   341  brcmf_proto_bcdc_configure_addr_mode(struct brcmf_pub *drvr, int ifidx,
   342                                       enum proto_addr_mode addr_mode)
   343  {
   344  }

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

Attachment: .config.gz
Description: Binary data

Reply via email to