From d713e3ab93fdc2468cfd1dcada16162f2d4cbe3d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 11 Jan 2020 08:30:07 +0000 Subject: [PATCH] drm/i915: Correct typo in i915_vma_compress_finish stub A copy and paste error in setting up the !CONFIG_DRM_I915_CAPTURE_ERROR stubs left a conflicting duplicate declaration. Reported-by: kbuild test robot Signed-off-by: Chris Wilson Acked-by: Andi Shyti Link: https://patchwork.freedesktop.org/patch/msgid/20200111083007.1619228-1-chris@chris-wilson.co.uk --- drivers/gpu/drm/i915/i915_gpu_error.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gpu_error.h b/drivers/gpu/drm/i915/i915_gpu_error.h index b87f392..1c80044 100644 --- a/drivers/gpu/drm/i915/i915_gpu_error.h +++ b/drivers/gpu/drm/i915/i915_gpu_error.h @@ -304,12 +304,13 @@ intel_engine_coredump_add_vma(struct intel_engine_coredump *ee, } static inline struct i915_vma_compress * -i915_vma_compress_prepare(struct intel_gt_coredump *gt) +i915_vma_capture_prepare(struct intel_gt_coredump *gt) { return NULL; } -void i915_vma_compress_prepare(struct i915_vma_compress *compress) +void i915_vma_capture_finish(struct intel_gt_coredump *gt, + struct i915_vma_compress *compress) { } -- 2.7.4