All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: Yang Li <yang.lee@linux.alibaba.com>
Cc: alexander.deucher@amd.com, sunpeng.li@amd.com,
	Abaci Robot <abaci@linux.alibaba.com>,
	Xinhui.Pan@amd.com, Rodrigo.Siqueira@amd.com,
	linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org,
	airlied@linux.ie, dri-devel@lists.freedesktop.org,
	christian.koenig@amd.com
Subject: Re: [PATCH -next] drm/amd/display: clean up some inconsistent indentings
Date: Fri, 9 Sep 2022 16:41:38 -0400	[thread overview]
Message-ID: <CADnq5_MuAXcCZ6aeRSzuCjsw12C0eYR0_2FWYynMOdx4ppvcgA@mail.gmail.com> (raw)
In-Reply-To: <20220901075655.57494-1-yang.lee@linux.alibaba.com>

Applied.  Thanks!

Alex

On Thu, Sep 1, 2022 at 3:57 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> This if statement is the content of the for statement above it. It
> should be indented.
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2026
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
> index 9dd705b985b9..0139e98a0aa1 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
> @@ -417,8 +417,8 @@ void get_subvp_visual_confirm_color(
>         for (i = 0; i < dc->res_pool->pipe_count; i++) {
>                 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i];
>
> -       if (pipe->stream && pipe->stream->mall_stream_config.paired_stream &&
> -                               pipe->stream->mall_stream_config.type == SUBVP_MAIN) {
> +               if (pipe->stream && pipe->stream->mall_stream_config.paired_stream &&
> +                       pipe->stream->mall_stream_config.type == SUBVP_MAIN) {
>                         /* SubVP enable - red */
>                         color->color_r_cr = color_value;
>                         enable_subvp = true;
> --
> 2.20.1.7.g153144c
>

WARNING: multiple messages have this Message-ID (diff)
From: Alex Deucher <alexdeucher@gmail.com>
To: Yang Li <yang.lee@linux.alibaba.com>
Cc: sunpeng.li@amd.com, Abaci Robot <abaci@linux.alibaba.com>,
	Xinhui.Pan@amd.com, Rodrigo.Siqueira@amd.com,
	linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org,
	airlied@linux.ie, dri-devel@lists.freedesktop.org,
	alexander.deucher@amd.com, christian.koenig@amd.com
Subject: Re: [PATCH -next] drm/amd/display: clean up some inconsistent indentings
Date: Fri, 9 Sep 2022 16:41:38 -0400	[thread overview]
Message-ID: <CADnq5_MuAXcCZ6aeRSzuCjsw12C0eYR0_2FWYynMOdx4ppvcgA@mail.gmail.com> (raw)
In-Reply-To: <20220901075655.57494-1-yang.lee@linux.alibaba.com>

Applied.  Thanks!

Alex

On Thu, Sep 1, 2022 at 3:57 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> This if statement is the content of the for statement above it. It
> should be indented.
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2026
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
> index 9dd705b985b9..0139e98a0aa1 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
> @@ -417,8 +417,8 @@ void get_subvp_visual_confirm_color(
>         for (i = 0; i < dc->res_pool->pipe_count; i++) {
>                 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i];
>
> -       if (pipe->stream && pipe->stream->mall_stream_config.paired_stream &&
> -                               pipe->stream->mall_stream_config.type == SUBVP_MAIN) {
> +               if (pipe->stream && pipe->stream->mall_stream_config.paired_stream &&
> +                       pipe->stream->mall_stream_config.type == SUBVP_MAIN) {
>                         /* SubVP enable - red */
>                         color->color_r_cr = color_value;
>                         enable_subvp = true;
> --
> 2.20.1.7.g153144c
>

  reply	other threads:[~2022-09-09 20:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01  7:56 [PATCH -next] drm/amd/display: clean up some inconsistent indentings Yang Li
2022-09-01  7:56 ` Yang Li
2022-09-01  7:56 ` Yang Li
2022-09-09 20:41 ` Alex Deucher [this message]
2022-09-09 20:41   ` Alex Deucher
2023-02-10  1:05 Yang Li
2023-02-10  1:05 ` Yang Li
2023-02-10  1:05 ` Yang Li
2023-02-13 16:14 ` Alex Deucher
2023-02-13 16:14   ` Alex Deucher
2023-09-28  1:13 Yang Li
2023-09-28  1:13 ` Yang Li
2023-10-18 13:54 ` Alex Deucher
2023-10-18 13:54   ` Alex Deucher
2023-10-18 13:54   ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADnq5_MuAXcCZ6aeRSzuCjsw12C0eYR0_2FWYynMOdx4ppvcgA@mail.gmail.com \
    --to=alexdeucher@gmail.com \
    --cc=Rodrigo.Siqueira@amd.com \
    --cc=Xinhui.Pan@amd.com \
    --cc=abaci@linux.alibaba.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sunpeng.li@amd.com \
    --cc=yang.lee@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.