tree:   
https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/driver-core.git 
debugfs_cleanup
head:   7ea1b1929a3f463169713ae38bcacf4966e756af
commit: c322a580a9226296a9ac9f57fdd9f06c186dedc3 [15/49] drm: make 
.debugfs_init and drm_debugfs_create_files() return void
config: i386-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
        git checkout c322a580a9226296a9ac9f57fdd9f06c186dedc3
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/i915_debugfs.c:4444:6: error: conflicting types for 
>> 'i915_debugfs_register'
    void i915_debugfs_register(struct drm_i915_private *dev_priv)
         ^~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/i915/i915_debugfs.c:44:0:
   drivers/gpu/drm/i915/i915_debugfs.h:13:5: note: previous declaration of 
'i915_debugfs_register' was here
    int i915_debugfs_register(struct drm_i915_private *dev_priv);
        ^~~~~~~~~~~~~~~~~~~~~

vim +/i915_debugfs_register +4444 drivers/gpu/drm/i915/i915_debugfs.c

  4443  
> 4444  void i915_debugfs_register(struct drm_i915_private *dev_priv)
  4445  {
  4446          struct drm_minor *minor = dev_priv->drm.primary;
  4447          int i;
  4448  
  4449          debugfs_create_file("i915_forcewake_user", S_IRUSR, 
minor->debugfs_root,
  4450                              to_i915(minor->dev), &i915_forcewake_fops);
  4451  
  4452          for (i = 0; i < ARRAY_SIZE(i915_debugfs_files); i++) {
  4453                  debugfs_create_file(i915_debugfs_files[i].name,
  4454                                      S_IRUGO | S_IWUSR,
  4455                                      minor->debugfs_root,
  4456                                      to_i915(minor->dev),
  4457                                      i915_debugfs_files[i].fops);
  4458          }
  4459  
  4460          drm_debugfs_create_files(i915_debugfs_list, 
I915_DEBUGFS_ENTRIES,
  4461                                   minor->debugfs_root, minor);
  4462  }
  4463  

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