[Intel-gfx] [PATCH] drm/i915: Remove excess indent in intel_finish_reset() caught by sparse
Daniel Vetter
daniel at ffwll.ch
Mon Aug 28 22:12:57 UTC 2017
On Mon, Aug 28, 2017 at 11:46:04AM +0100, Chris Wilson wrote:
> CHECK drivers/gpu/drm/i915/intel_display.c
> drivers/gpu/drm/i915/intel_display.c:3753 intel_finish_reset() warn: inconsistent indenting
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Ooops, I think that was me :-(
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
> drivers/gpu/drm/i915/intel_display.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 7cd392f2cd94..7317e1d1c1e8 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -3750,8 +3750,8 @@ void intel_finish_reset(struct drm_i915_private *dev_priv)
> if (!gpu_reset_clobbers_display(dev_priv)) {
> /* for testing only restore the display */
> ret = __intel_display_resume(dev, state, ctx);
> - if (ret)
> - DRM_ERROR("Restoring old state failed with %i\n", ret);
> + if (ret)
> + DRM_ERROR("Restoring old state failed with %i\n", ret);
> } else {
> /*
> * The display has been reset as well,
> --
> 2.14.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list