dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm: bridge: cdns-mhdp8546: Fix inconsistent indenting
@ 2021-05-24 10:42 Jiapeng Chong
  2021-05-27 12:02 ` Robert Foss
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2021-05-24 10:42 UTC (permalink / raw)
  To: a.hajda
  Cc: Jiapeng Chong, jernej.skrabec, jonas, airlied, narmstrong,
	linux-kernel, dri-devel, Laurent.pinchart

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@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm: bridge: cdns-mhdp8546: Fix inconsistent indenting
  2021-05-24 10:42 [PATCH] drm: bridge: cdns-mhdp8546: Fix inconsistent indenting Jiapeng Chong
@ 2021-05-27 12:02 ` Robert Foss
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Foss @ 2021-05-27 12:02 UTC (permalink / raw)
  To: Jiapeng Chong
  Cc: Jernej Skrabec, Jonas Karlman, David Airlie, Neil Armstrong,
	linux-kernel, dri-devel, Andrzej Hajda, Laurent Pinchart

Reviewed & pushed to drm-misc-next.

On Mon, 24 May 2021 at 12:43, Jiapeng Chong
<jiapeng.chong@linux.alibaba.com> 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@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
>  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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-27 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 10:42 [PATCH] drm: bridge: cdns-mhdp8546: Fix inconsistent indenting Jiapeng Chong
2021-05-27 12:02 ` Robert Foss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).