diff options
author | Zhang Xiaoxu <zhangxiaoxu5@huawei.com> | 2020-01-17 15:34:36 +0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-17 13:01:02 +0000 |
commit | 04062c58faafddf62006c6f8e5077dc050e8207e (patch) | |
tree | 35cd104d0c7bed9b879100694396eac4a562a32b /drivers/gpu/drm/i915/i915_request.h | |
parent | c53aec2bcc7487437984e4d13e4fc15c4cc95047 (diff) | |
download | linux-04062c58faafddf62006c6f8e5077dc050e8207e.tar.gz linux-04062c58faafddf62006c6f8e5077dc050e8207e.tar.bz2 linux-04062c58faafddf62006c6f8e5077dc050e8207e.zip |
drm/i915: Fix i915_error_state_store error defination
Since commit 742379c0c4001 ("drm/i915: Start chopping up the GPU error
capture"), function 'i915_error_state_store' was defined and used with
only one parameter.
But if no 'CONFIG_DRM_I915_CAPTURE_ERROR', this function was defined
with two parameter.
This may lead compile error. This patch fix it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200117073436.6507-1-zhangxiaoxu5@huawei.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.h')
0 files changed, 0 insertions, 0 deletions