tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
debugfs_cleanup
head:   ead253d78760f569593267b87592175cc66b0f99
commit: 361252cd04527c4f4f5ea7d96f5571cbeb670b8a [104/109] ceph: fix changelog
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 7.2.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 361252cd04527c4f4f5ea7d96f5571cbeb670b8a
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

>> net//ceph/debugfs.c:392:13: error: conflicting types for 'ceph_debugfs_init'
    void __init ceph_debugfs_init(void)
                ^~~~~~~~~~~~~~~~~
   In file included from net//ceph/debugfs.c:14:0:
   include/linux/ceph/debugfs.h:22:12: note: previous declaration of 
'ceph_debugfs_init' was here
    extern int ceph_debugfs_init(void);
               ^~~~~~~~~~~~~~~~~
>> net//ceph/debugfs.c:402:6: error: conflicting types for 
>> 'ceph_debugfs_client_init'
    void ceph_debugfs_client_init(struct ceph_client *client)
         ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from net//ceph/debugfs.c:14:0:
   include/linux/ceph/debugfs.h:24:12: note: previous declaration of 
'ceph_debugfs_client_init' was here
    extern int ceph_debugfs_client_init(struct ceph_client *client);
               ^~~~~~~~~~~~~~~~~~~~~~~~

vim +/ceph_debugfs_init +392 net//ceph/debugfs.c

   391  
 > 392  void __init ceph_debugfs_init(void)
   393  {
   394          ceph_debugfs_dir = debugfs_create_dir("ceph", NULL);
   395  }
   396  
   397  void ceph_debugfs_cleanup(void)
   398  {
   399          debugfs_remove(ceph_debugfs_dir);
   400  }
   401  
 > 402  void ceph_debugfs_client_init(struct ceph_client *client)
   403  {
   404          char name[80];
   405  
   406          snprintf(name, sizeof(name), "%pU.client%lld", &client->fsid,
   407                   client->monc.auth->global_id);
   408  
   409          dout("ceph_debugfs_client_init %p %s\n", client, name);
   410  
   411          client->debugfs_dir = debugfs_create_dir(name, 
ceph_debugfs_dir);
   412  
   413          client->monc.debugfs_file = debugfs_create_file("monc",
   414                                                        0400,
   415                                                        
client->debugfs_dir,
   416                                                        client,
   417                                                        &monc_show_fops);
   418  
   419          client->osdc.debugfs_file = debugfs_create_file("osdc",
   420                                                        0400,
   421                                                        
client->debugfs_dir,
   422                                                        client,
   423                                                        &osdc_show_fops);
   424  
   425          client->debugfs_monmap = debugfs_create_file("monmap",
   426                                          0400,
   427                                          client->debugfs_dir,
   428                                          client,
   429                                          &monmap_show_fops);
   430  
   431          client->debugfs_osdmap = debugfs_create_file("osdmap",
   432                                          0400,
   433                                          client->debugfs_dir,
   434                                          client,
   435                                          &osdmap_show_fops);
   436  
   437          client->debugfs_options = debugfs_create_file("client_options",
   438                                          0400,
   439                                          client->debugfs_dir,
   440                                          client,
   441                                          &client_options_show_fops);
   442  }
   443  

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