Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp36849pxb; Mon, 31 Jan 2022 14:33:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRqS7TS3pwp1VNS7yJz/REAVbKa6eSzVPl+uSl8xoVZkebakYWePtwPo5mPCBIB99wWS4V X-Received: by 2002:a50:9dc8:: with SMTP id l8mr22333253edk.283.1643668387144; Mon, 31 Jan 2022 14:33:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643668387; cv=none; d=google.com; s=arc-20160816; b=IEeM4iB0N1STXqmgR5ybSrXm4soxbVFXn+idYuLxGjJzXOlnLBP7RLiv9cc9t43nQb tCJoMDagMDDtj0zkAlrgc57GtF4Ya//2FnK4nKBk0LYHw4UGBIx9nao4NJBZ9JP3Ck/r khRcD0qBFRLfNL0+3yFBkmUQG5skg3zLMtQMRrVmrcwdehxf6xQAa7jDtuGs+ictj+3f nHXhJX4zYrl2viarkuAZ/AHgwwwUi0c3HGqNejNZuAg++sVOIuSK1+OvTU5Z4mv5wQ1p vBGPdfxQQ+ZveynhE0TPLyRSw7DINdpPnuSl3a1OoElAia3pBKGCDiC5uRbCgBSuYQrz r4Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+D2tx3xOK+qTBeEyGFUHcPONtwRnFsH/WMlQ02OzG1k=; b=ALTLdVN0kgjBggArdGKmd4eCXMBMv6rNc4yQ0IGK8eZd4P7p6/MrRplupTNjnmpLEp cgdhMbEeNJxl2uEvifapaGc2+ssYQLrUsmN1K79Y8Z033zLSv/ybcyxpLah1Ngv3Wefr PNYjMI89Za6n/JmGjxjRXoKvUtGkHb1d2dlutbAHZ570A0ltMm18a3quzpIgmo3yHBqm 06n+1ehAJWqYhoIo+eQVAGOjkHZlFY5iH1P2pU5R9nbFQinkk0+/Xisco1gMhzGdenCY BhpKR3F2Zs4mJsDQHp+moz+2oCGoV39j6sWVZA8+slFX4VvZXemzLMjFJfnjUa7pDGNV 1f7Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gn37si10277061ejc.852.2022.01.31.14.32.10; Mon, 31 Jan 2022 14:33:07 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351941AbiA2BET (ORCPT + 99 others); Fri, 28 Jan 2022 20:04:19 -0500 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]:57664 "EHLO out30-56.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231846AbiA2BES (ORCPT ); Fri, 28 Jan 2022 20:04:18 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0V34fUPz_1643418255; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V34fUPz_1643418255) by smtp.aliyun-inc.com(127.0.0.1); Sat, 29 Jan 2022 09:04:15 +0800 From: Yang Li To: airlied@linux.ie Cc: daniel@ffwll.ch, Xinhui.Pan@amd.com, christian.koenig@amd.com, alexander.deucher@amd.com, Rodrigo.Siqueira@amd.com, sunpeng.li@amd.com, harry.wentland@amd.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] drm/amd/display: clean up some inconsistent indenting Date: Sat, 29 Jan 2022 09:04:13 +0800 Message-Id: <20220129010413.97801-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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); } } -- 2.20.1.7.g153144c