[net-next PATCH] ibmvnic: map L2/L3/L4 header descriptors to firmware

kbuild test robot lkp at intel.com
Thu Feb 25 07:56:01 AEDT 2016


Hi Thomas,

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

url:    https://github.com/0day-ci/linux/commits/Thomas-Falcon/ibmvnic-map-L2-L3-L4-header-descriptors-to-firmware/20160225-033734
config: powerpc-allmodconfig (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=powerpc 

All error/warnings (new ones prefixed by >>):

   drivers/net/ethernet/ibm/ibmvnic.c: In function 'build_hdr_descs_arr':
>> drivers/net/ethernet/ibm/ibmvnic.c:712:13: error: implicit declaration of function 'bld_hdr_data' [-Werror=implicit-function-declaration]
     hdr_data = bld_hdr_data(hdr_field, skb, hdr_len, &tot_len);
                ^
>> drivers/net/ethernet/ibm/ibmvnic.c:712:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     hdr_data = bld_hdr_data(hdr_field, skb, hdr_len, &tot_len);
              ^
   drivers/net/ethernet/ibm/ibmvnic.c: At top level:
   drivers/net/ethernet/ibm/ibmvnic.c:577:23: warning: 'build_hdr_data' defined but not used [-Wunused-function]
    static unsigned char *build_hdr_data(u8 hdr_field, struct sk_buff *skb,
                          ^
   cc1: some warnings being treated as errors

vim +/bld_hdr_data +712 drivers/net/ethernet/ibm/ibmvnic.c

   706	{
   707		unsigned char *hdr_data;
   708		union sub_crq *entries;
   709		int hdr_len[3] = {0};
   710		int tot_len;
   711	
 > 712		hdr_data = bld_hdr_data(hdr_field, skb, hdr_len, &tot_len);
   713		if (!hdr_data)
   714			return NULL;
   715	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 47689 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160225/a946872c/attachment-0001.obj>


More information about the Linuxppc-dev mailing list