Received: by 2002:a19:ef0c:0:0:0:0:0 with SMTP id n12csp950194lfh; Tue, 1 Feb 2022 12:51:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJyObqzqD7/uukiHcVT9bUoPXbK6GWXVGBT4J3dELnmftthOE5H/Zy37NhgTkod9O+ofkjdu X-Received: by 2002:a17:90b:350c:: with SMTP id ls12mr4355058pjb.182.1643748616528; Tue, 01 Feb 2022 12:50:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748616; cv=none; d=google.com; s=arc-20160816; b=p+VUtCERh4r+4jDZXfDpVp7qSYAopY5hu4Kc5aUlWytVQuYvpsXHSi8qs/UlR8DFsF G6ngOoSGLppuUFz8mIcrwRVvKO1wOwvnHthLXYCva77ehrrCVDLynDTpcFQVRhCbjkX8 lzhauQRa8I6tGWj3GSq3VWsKGDV1FGhMfwHcp3DAkgCVKJi5jy8+/4+EPV0a46zWA+rh DAbI2j84cVzQpW5cV9fOqzX7zdqBbSmOa5x5JpiG7PoRSXCwC8p3v55qJqmS4j1X9puI usgQ3mkjMOXQmm+o5MvyRsML0/ACqu72UhZZ6D6F6DiJ8tekVJAQsuSNQVh5GNrRUy/i tAgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=TxO4HL3vAUhTJBcsBoRP4TU58IoGPRrYl5E2aI+f7nc=; b=DvpRXnUDDwNrnZBc21UHyOfja2VP+uTWsExU45CQxtOr8nmhRGj1LJdg9FE1r1VGH8 /pct62RG2dW+54R5kR2ZpIlnTuNjTNtPx6L6yOsJi6emavVtuNqe/LmDLDAM7rH0jl/a 3zmiEKKhFlFxIvVP7I1WZXaQl66T4pXrIY5/uK8amFsKPN1JPgmuLgEdJlWrmEPJHnCY aTnVEEhubKCxUpLta0hqhWjOsfqi1WlTGHCM0eJ2NpcWOEC12bRiLqIruJHBNd5hAi/g KE9u104f1oxtmhOKTD/576QT7oZMxxNWqSBEX39PaKWvtcvBcL+os6tD7LqcaUHTkfuN DXTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bJUvEOlO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k72si16701841pfd.254.2022.02.01.12.50.04; Tue, 01 Feb 2022 12:50:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bJUvEOlO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378386AbiAaUPt (ORCPT + 99 others); Mon, 31 Jan 2022 15:15:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378385AbiAaUPs (ORCPT ); Mon, 31 Jan 2022 15:15:48 -0500 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20D5DC061714 for ; Mon, 31 Jan 2022 12:15:48 -0800 (PST) Received: by mail-oi1-x22f.google.com with SMTP id q186so28961800oih.8 for ; Mon, 31 Jan 2022 12:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TxO4HL3vAUhTJBcsBoRP4TU58IoGPRrYl5E2aI+f7nc=; b=bJUvEOlOmzuahvjm4AL/eskyk6nm7kknB7gdgCoRtytffbzI7Y8Umw8GfH8gWjXxv0 +BraKxwV8fIuPoZdC6KxyIFMs34RKEUsc49ejqN1OZktRqS86vNNW+J2cDRowmICfANz 7XOsjc3UEpD2oAb/wKcAYVP3uYxBEb1CVH6POqUvwP9jDgNagLJ1LXHzngSvHuH/CKuZ eWs2opiuALnQwFACnDkhZHiQMtkFbL/vWb/9pfp3BvyKvVTLr3omLhmjJ4rNj4i0kokh loYtA7IRRYI1wX7m6I0RV+ukTZmXBnn6xaQvEctBRYIj3Ur+hSV7fyo2uYdX4AgWZh2G hUnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TxO4HL3vAUhTJBcsBoRP4TU58IoGPRrYl5E2aI+f7nc=; b=TRsofTvIIqLopU+Zwby+Q+BIPZZTG1LqGyOLATk2Z4o6hhhUAAPTT1wxX41SsSiDCH hyJYmjO3VAygypV2JN087iKlBEB5NVqBPLVmbsnydpa22A/mIV57s/reur3Ltn8/2HEt wGFOIvgLvmJdaTy3Uw8NDqc3POwMUyPr8gPKw2H0O2PjDlFhidRcO96L3sWjlL9JnumT rZPm/KnP5PcODVDVgfneFs9SmqL5OsTBmweBLR5S+TuRNaZiwfJRQQ477uQ5Kohxbj89 upJWBLlTTglYWORWwCZ6tNHinBQCXRhSCC64FQTcmDMMt484LPyzLftevIeGUk1mh9XH WLgw== X-Gm-Message-State: AOAM533XeWZsNDuHyIXQqBMPPqDzd2TUnOUT2TxWbLOc5+OnUvqTZa+Y 85w8rM78mUGQKsk+NmGl/lMT6GII8LjJ49qArro= X-Received: by 2002:a05:6808:2011:: with SMTP id q17mr19415786oiw.199.1643660147527; Mon, 31 Jan 2022 12:15:47 -0800 (PST) MIME-Version: 1.0 References: <20220129010413.97801-1-yang.lee@linux.alibaba.com> <75ab0f37-a55e-8e81-8cbf-c0de3002c3e4@amd.com> In-Reply-To: <75ab0f37-a55e-8e81-8cbf-c0de3002c3e4@amd.com> From: Alex Deucher Date: Mon, 31 Jan 2022 15:15:36 -0500 Message-ID: Subject: Re: [PATCH -next] drm/amd/display: clean up some inconsistent indenting To: Harry Wentland Cc: Yang Li , Dave Airlie , "Leo (Sunpeng) Li" , Abaci Robot , xinhui pan , "Siqueira, Rodrigo" , LKML , amd-gfx list , Maling list - DRI developers , Daniel Vetter , "Deucher, Alexander" , Christian Koenig Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! Alex On Mon, Jan 31, 2022 at 10:17 AM Harry Wentland wrote: > > 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 > > Signed-off-by: Yang Li > > Reviewed-by: Harry Wentland > > 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); > > } > > } > > >