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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: Binary data

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux