[drm-intel:for-linux-next 5/22] drivers/gpu/drm/i915/i915_drv.h:3612:48: error: parameter name omitted

kbuild test robot fengguang.wu at intel.com
Sat Jun 25 04:17:00 UTC 2016


tree:   git://anongit.freedesktop.org/drm-intel for-linux-next
head:   883445d43e45ddc5ef19274a169a1aa603428ab6
commit: 1dac891c1c95a8528f3558b481fbb9a45d653619 [5/22] drm/i915: Register debugfs interface last
config: x86_64-randconfig-s2-06251012 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 1dac891c1c95a8528f3558b481fbb9a45d653619
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/intel_dp_mst.c:27:0:
   drivers/gpu/drm/i915/i915_drv.h: In function 'i915_debugfs_register':
>> drivers/gpu/drm/i915/i915_drv.h:3612:48: error: parameter name omitted
    static inline int i915_debugfs_register(struct drm_i915_private *) {return 0;}
                                                   ^~~~~~~~~~~~~~~~
   drivers/gpu/drm/i915/i915_drv.h: In function 'i915_debugfs_unregister':
   drivers/gpu/drm/i915/i915_drv.h:3613:51: error: parameter name omitted
    static inline void i915_debugfs_unregister(struct drm_i915_private *) {}
                                                      ^~~~~~~~~~~~~~~~

vim +3612 drivers/gpu/drm/i915/i915_drv.h

  3606	#ifdef CONFIG_DEBUG_FS
  3607	int i915_debugfs_register(struct drm_i915_private *dev_priv);
  3608	void i915_debugfs_unregister(struct drm_i915_private *dev_priv);
  3609	int i915_debugfs_connector_add(struct drm_connector *connector);
  3610	void intel_display_crc_init(struct drm_device *dev);
  3611	#else
> 3612	static inline int i915_debugfs_register(struct drm_i915_private *) {return 0;}
  3613	static inline void i915_debugfs_unregister(struct drm_i915_private *) {}
  3614	static inline int i915_debugfs_connector_add(struct drm_connector *connector)
  3615	{ return 0; }

---
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/octet-stream
Size: 29187 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160625/d58f3edd/attachment-0001.obj>


More information about the dri-devel mailing list