Hi Thomas,

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

url:    
https://github.com/0day-ci/linux/commits/Thomas-Falcon/ibmvnic-Enable-TSO-support/20170525-111039
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=powerpc 

All warnings (new ones prefixed by >>):

   In file included from include/linux/module.h:18:0,
                    from drivers/net/ethernet/ibm/ibmvnic.c:46:
   drivers/net/ethernet/ibm/ibmvnic.c: In function '__check_large_send_offload':
   include/linux/moduleparam.h:148:27: error: return from incompatible pointer 
type [-Werror=incompatible-pointer-types]
     param_check_##type(name, &(value));       \
                              ^
   include/linux/moduleparam.h:346:68: note: in definition of macro 
'__param_check'
     static inline type __always_unused *__check_##name(void) { return(p); }
                                                                       ^
   include/linux/moduleparam.h:148:2: note: in expansion of macro 
'param_check_bool'
     param_check_##type(name, &(value));       \
     ^~~~~~~~~~~~
   include/linux/moduleparam.h:128:2: note: in expansion of macro 
'module_param_named'
     module_param_named(name, name, type, perm)
     ^~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/ibm/ibmvnic.c:85:1: note: in expansion of macro 
>> 'module_param'
    module_param(large_send_offload, bool, 0644);
    ^~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/module_param +85 drivers/net/ethernet/ibm/ibmvnic.c

    69  #include <net/net_namespace.h>
    70  #include <asm/hvcall.h>
    71  #include <linux/atomic.h>
    72  #include <asm/vio.h>
    73  #include <asm/iommu.h>
    74  #include <linux/uaccess.h>
    75  #include <asm/firmware.h>
    76  #include <linux/workqueue.h>
    77  #include <linux/if_vlan.h>
    78  
    79  #include "ibmvnic.h"
    80  
    81  static const char ibmvnic_driver_name[] = "ibmvnic";
    82  static const char ibmvnic_driver_string[] = "IBM System i/p Virtual NIC 
Driver";
    83  
    84  static int large_send_offload;
  > 85  module_param(large_send_offload, bool, 0644);
    86  MODULE_PARM_DESC(large_send_offload,
    87                   "Determines whether large send offload is enabled");
    88  
    89  MODULE_AUTHOR("Santiago Leon <santi_l...@yahoo.com>");
    90  MODULE_DESCRIPTION("IBM System i/p Virtual NIC Driver");
    91  MODULE_LICENSE("GPL");
    92  MODULE_VERSION(IBMVNIC_DRIVER_VERSION);
    93  

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