2023-06-02 06:26:40

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] drm/amd/display: clean up some inconsistent indenting

No functional modification involved.

drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:2377 link_set_dpms_on() warn: inconsistent indenting.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5376
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
index 2963267fe74a..f7f1a1586f3b 100644
--- a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
+++ b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
@@ -2374,8 +2374,8 @@ void link_set_dpms_on(
}
}

- if (dc_is_virtual_signal(pipe_ctx->stream->signal))
- return;
+ if (dc_is_virtual_signal(pipe_ctx->stream->signal))
+ return;

link_enc = link_enc_cfg_get_link_enc(link);
ASSERT(link_enc);
--
2.20.1.7.g153144c



2023-06-02 13:31:21

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/display: clean up some inconsistent indenting

Acked-by: Alex Deucher <[email protected]>

On Fri, Jun 2, 2023 at 2:18 AM Jiapeng Chong
<[email protected]> wrote:
>
> No functional modification involved.
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:2377 link_set_dpms_on() warn: inconsistent indenting.
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5376
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
> index 2963267fe74a..f7f1a1586f3b 100644
> --- a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
> +++ b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
> @@ -2374,8 +2374,8 @@ void link_set_dpms_on(
> }
> }
>
> - if (dc_is_virtual_signal(pipe_ctx->stream->signal))
> - return;
> + if (dc_is_virtual_signal(pipe_ctx->stream->signal))
> + return;
>
> link_enc = link_enc_cfg_get_link_enc(link);
> ASSERT(link_enc);
> --
> 2.20.1.7.g153144c
>

2023-06-02 14:39:12

by Hamza Mahfooz

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/display: clean up some inconsistent indenting

On 6/2/23 02:17, Jiapeng Chong wrote:
> No functional modification involved.
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:2377 link_set_dpms_on() warn: inconsistent indenting.
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5376
> Signed-off-by: Jiapeng Chong <[email protected]>

Applied, thanks!

> ---
> drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
> index 2963267fe74a..f7f1a1586f3b 100644
> --- a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
> +++ b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
> @@ -2374,8 +2374,8 @@ void link_set_dpms_on(
> }
> }
>
> - if (dc_is_virtual_signal(pipe_ctx->stream->signal))
> - return;
> + if (dc_is_virtual_signal(pipe_ctx->stream->signal))
> + return;
>
> link_enc = link_enc_cfg_get_link_enc(link);
> ASSERT(link_enc);
--
Hamza