Hi Per,

[auto build test ERROR on wireless-drivers-next/master]
[also build test ERROR 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: mips-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=mips 

All errors (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:41: error: 
>> passing argument 3 of 'brcmf_proto_bcdc_hdrpull' from incompatible pointer 
>> type [-Werror=incompatible-pointer-types]
      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:49: error: 
passing argument 4 of 'brcmf_proto_bcdc_hdrpull' from incompatible pointer type 
[-Werror=incompatible-pointer-types]
      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,
    ^
   cc1: some warnings being treated as errors

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

   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  

---
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