[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <75ab0f37-a55e-8e81-8cbf-c0de3002c3e4@amd.com>
Date: Mon, 31 Jan 2022 10:17:37 -0500
From: Harry Wentland <harry.wentland@....com>
To: Yang Li <yang.lee@...ux.alibaba.com>, airlied@...ux.ie
Cc: daniel@...ll.ch, Xinhui.Pan@....com, christian.koenig@....com,
alexander.deucher@....com, Rodrigo.Siqueira@....com,
sunpeng.li@....com, amd-gfx@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH -next] drm/amd/display: clean up some inconsistent
indenting
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@...ux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
Reviewed-by: Harry Wentland <harry.wentland@....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);
> }
> }
>
Powered by blists - more mailing lists