Re: [PATCH] drm: bridge: cdns-mhdp8546: Fix inconsistent indenting
From: Robert Foss
Date: Thu May 27 2021 - 08:02:52 EST
Reviewed & pushed to drm-misc-next.
On Mon, 24 May 2021 at 12:43, Jiapeng Chong
<jiapeng.chong@xxxxxxxxxxxxxxxxx> wrote:
>
> Eliminate the follow smatch warning:
>
> drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c:2143
> cdns_mhdp_bridge_atomic_reset() warn: inconsistent indenting.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c b/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c
> index 0cd8f40..82619db 100644
> --- a/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c
> +++ b/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c
> @@ -2140,7 +2140,7 @@ static void cdns_mhdp_detach(struct drm_bridge *bridge)
> if (!cdns_mhdp_state)
> return NULL;
>
> - __drm_atomic_helper_bridge_reset(bridge, &cdns_mhdp_state->base);
> + __drm_atomic_helper_bridge_reset(bridge, &cdns_mhdp_state->base);
>
> return &cdns_mhdp_state->base;
> }
> --
> 1.8.3.1
>