tree:   
https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/driver-core.git 
debugfs_cleanup
head:   98866fd07da3f475e442fa6362a8256d04672221
commit: dcbf3bd7af5468bace39cf3b57c94e5f15fbe95a [9/68] WIP: ethernet: break 
up...
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout dcbf3bd7af5468bace39cf3b57c94e5f15fbe95a
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:64:42: warning: 'struct 
>> net_dim' declared inside parameter list will not be visible outside of this 
>> definition or declaration
    static void debugfs_dim_ring_init(struct net_dim *dim, int ring_idx,
                                             ^~~~~~~
   drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c: In function 
'bnxt_debug_dev_init':
   drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:86:26: error: passing 
argument 1 of 'debugfs_dim_ring_init' from incompatible pointer type 
[-Werror=incompatible-pointer-types]
       debugfs_dim_ring_init(&cpr->dim, i,
                             ^
   drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c:64:13: note: expected 
'struct net_dim *' but argument is of type 'struct dim *'
    static void debugfs_dim_ring_init(struct net_dim *dim, int ring_idx,
                ^~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +64 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c

    63  
  > 64  static void debugfs_dim_ring_init(struct net_dim *dim, int ring_idx,
    65                                    struct dentry *dd)
    66  {
    67          static char qname[16];
    68  
    69          snprintf(qname, 10, "%d", ring_idx);
    70          debugfs_create_file(qname, 0600, dd, dim, &debugfs_dim_fops);
    71  }
    72  

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to