[Intel-gfx] [PATCH] drm/i915: Hide GEM shutdown in i915_gem_fini

kbuild test robot lkp at intel.com
Thu Feb 11 16:57:36 UTC 2016

Hi Tvrtko,

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20160211]
[cannot apply to v4.5-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Tvrtko-Ursulin/drm-i915-Hide-GEM-shutdown-in-i915_gem_fini/20160211-234159
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-i0-201606 (attached as .config)
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/i915_drv.c:34:0:
>> drivers/gpu/drm/i915/i915_drv.h:3057:40: warning: 'warn_unused_result' attribute ignored [-Wattributes]
    void __must_check i915_gem_fini(struct drm_device *dev);

vim +/warn_unused_result +3057 drivers/gpu/drm/i915/i915_drv.h

  3042	static inline bool i915_stop_ring_allow_ban(struct drm_i915_private *dev_priv)
  3043	{
  3044		return dev_priv->gpu_error.stop_rings == 0 ||
  3045			dev_priv->gpu_error.stop_rings & I915_STOP_RING_ALLOW_BAN;
  3046	}
  3048	static inline bool i915_stop_ring_allow_warn(struct drm_i915_private *dev_priv)
  3049	{
  3050		return dev_priv->gpu_error.stop_rings == 0 ||
  3051			dev_priv->gpu_error.stop_rings & I915_STOP_RING_ALLOW_WARN;
  3052	}
  3054	void i915_gem_reset(struct drm_device *dev);
  3055	bool i915_gem_clflush_object(struct drm_i915_gem_object *obj, bool force);
  3056	int __must_check i915_gem_init(struct drm_device *dev);
> 3057	void __must_check i915_gem_fini(struct drm_device *dev);
  3058	int i915_gem_init_rings(struct drm_device *dev);
  3059	int __must_check i915_gem_init_hw(struct drm_device *dev);
  3060	int i915_gem_l3_remap(struct drm_i915_gem_request *req, int slice);
  3061	void i915_gem_init_swizzling(struct drm_device *dev);
  3062	int __must_check i915_gpu_idle(struct drm_device *dev);
  3063	int __must_check i915_gem_suspend(struct drm_device *dev);
  3064	void __i915_add_request(struct drm_i915_gem_request *req,
  3065				struct drm_i915_gem_object *batch_obj,

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: 24052 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160212/756a9d5f/attachment-0001.obj>

More information about the Intel-gfx mailing list