[driver-core:debugfs_cleanup 21/55] drivers/gpu/drm/i915/i915_debugfs.c:4444:6: error: conflicting types for 'i915_debugfs_register'

kbuild test robot lkp at intel.com
Fri Jul 19 14:00:19 UTC 2019


tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head:   88ff756ea1e770a5a0dab006b06b969c4cda7a24
commit: 9ec380374a43c5e6fcf1c6c1a429379b208a7905 [21/55] drm: make .debugfs_init and drm_debugfs_create_files() return void
config: x86_64-rhel (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
        git checkout 9ec380374a43c5e6fcf1c6c1a429379b208a7905
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at 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

---
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/gzip
Size: 43527 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190719/7eb0f0e3/attachment-0001.bin>


More information about the devel mailing list