Hi Salil,

[auto build test ERROR on net-next/master]

url:    
https://github.com/0day-ci/linux/commits/Salil-Mehta/Hisilicon-Network-Subsystem-3-Ethernet-Driver/20170611-204908
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
reproduce:
        wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All errors (new ones prefixed by >>):

   drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c: In function 
'hns3_nic_poll_controller':
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c:61:26: error: 'struct 
>> hnae3_knic_private_info' has no member named 'num_tqp_vectors'; did you mean 
>> 'num_tqps'?
     for (i = 0; i < h->kinfo.num_tqp_vectors; i++)
                             ^
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c:62:26: error: 'struct 
>> hnae3_knic_private_info' has no member named 'tqp_vectors'
      napi_schedule(&h->kinfo.tqp_vectors[i].napi);
                             ^
   drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c: At top level:
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c:1275:19: error: 
>> initialization from incompatible pointer type 
>> [-Werror=incompatible-pointer-types]
     .ndo_setup_tc  = hns3_nic_setup_tc,
                      ^~~~~~~~~~~~~~~~~
   drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c:1275:19: note: (near 
initialization for 'hns3_nic_netdev_ops.ndo_setup_tc')
   cc1: some warnings being treated as errors

vim +61 drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c

b7d58d74 Salil Mehta 2017-06-10  55     struct hns3_nic_priv *priv = 
netdev_priv(ndev);
b7d58d74 Salil Mehta 2017-06-10  56     struct hnae3_handle *h = 
priv->ae_handle;
b7d58d74 Salil Mehta 2017-06-10  57     unsigned long flag;
b7d58d74 Salil Mehta 2017-06-10  58     int i;
b7d58d74 Salil Mehta 2017-06-10  59  
b7d58d74 Salil Mehta 2017-06-10  60     local_irq_save(flag);
b7d58d74 Salil Mehta 2017-06-10 @61     for (i = 0; i < 
h->kinfo.num_tqp_vectors; i++)
b7d58d74 Salil Mehta 2017-06-10 @62             
napi_schedule(&h->kinfo.tqp_vectors[i].napi);
b7d58d74 Salil Mehta 2017-06-10  63     local_irq_restore(flag);
b7d58d74 Salil Mehta 2017-06-10  64  }
b7d58d74 Salil Mehta 2017-06-10  65  #endif

:::::: The code at line 61 was first introduced by commit
:::::: b7d58d744ff1224947a4cf8373ee9855e5a29af5 net: hns3: Add support of HNS3 
Ethernet Driver for hip08 SoC

:::::: TO: Salil Mehta <salil.me...@huawei.com>
:::::: CC: 0day robot <fengguang...@intel.com>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to