AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Harry Wentland <harry.wentland@amd.com>
To: Yang Li <yang.lee@linux.alibaba.com>, airlied@linux.ie
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,
	dri-devel@lists.freedesktop.org, daniel@ffwll.ch,
	alexander.deucher@amd.com, christian.koenig@amd.com
Subject: Re: [PATCH -next] drm/amd/display: clean up some inconsistent indenting
Date: Mon, 31 Jan 2022 10:17:37 -0500	[thread overview]
Message-ID: <75ab0f37-a55e-8e81-8cbf-c0de3002c3e4@amd.com> (raw)
In-Reply-To: <20220129010413.97801-1-yang.lee@linux.alibaba.com>

On 2022-01-28 20:04, Yang Li wrote:
> Eliminate the follow smatch warning:
> drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c:2246
> dp_perform_8b_10b_link_training() warn: inconsistent indenting
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> index daaec3164875..34ffcd5bb1d7 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> @@ -2243,11 +2243,11 @@ static enum link_training_result dp_perform_8b_10b_link_training(
>  
>  	if (status == LINK_TRAINING_SUCCESS) {
>  		status = perform_clock_recovery_sequence(link, link_res, lt_settings, DPRX);
> -	if (status == LINK_TRAINING_SUCCESS) {
> -		status = perform_channel_equalization_sequence(link,
> -					link_res,
> -					lt_settings,
> -					DPRX);
> +		if (status == LINK_TRAINING_SUCCESS) {
> +			status = perform_channel_equalization_sequence(link,
> +								       link_res,
> +								       lt_settings,
> +								       DPRX);
>  		}
>  	}
>  


  reply	other threads:[~2022-01-31 15:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29  1:04 [PATCH -next] drm/amd/display: clean up some inconsistent indenting Yang Li
2022-01-31 15:17 ` Harry Wentland [this message]
2022-01-31 20:15   ` Alex Deucher
  -- strict thread matches above, loose matches on Subject: below --
2022-07-01  9:19 Yang Li
2022-07-05 15:22 ` Alex Deucher
2022-07-07  1:38 Yang Li
2022-07-07 18:17 ` 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=75ab0f37-a55e-8e81-8cbf-c0de3002c3e4@amd.com \
    --to=harry.wentland@amd.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=daniel@ffwll.ch \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox