diff options
author | Zhang Xiaoxu <[email protected]> | 2020-01-17 15:34:36 +0800 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2020-02-09 19:23:31 +0200 |
commit | c2cebbc4a593bd2ee72d46a8439dcbca512b5507 (patch) | |
tree | 1eb9a61c8b2c3d90086c3485b07fc0c021453066 /tools/perf/util/trace-event-scripting.c | |
parent | e73c1486e4c867865fff1cfa0f0315a107ff4c21 (diff) |
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.
Fixes: 742379c0c400 ("drm/i915: Start chopping up the GPU error capture")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhang Xiaoxu <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 04062c58faafddf62006c6f8e5077dc050e8207e)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions