Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp461481rwe; Thu, 1 Sep 2022 02:29:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR4is4nvqeJR/PLr6xUvubNCz2lcCy+v1KDQm7yW8hZJ8beV7oHvGePWmjyTwo+3F+l3H8tC X-Received: by 2002:a05:6402:3509:b0:43e:d80b:44a8 with SMTP id b9-20020a056402350900b0043ed80b44a8mr28631179edd.255.1662024540313; Thu, 01 Sep 2022 02:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662024540; cv=none; d=google.com; s=arc-20160816; b=hrtGmcA6KV+eMxKTmzCZEPKPANtNxpQk8F/9/fm5bSqxjIOf09mPkPDLsnIpKyR+Qf 1lSCvy4lyjoQpG/ItVWDm+QHsJJvZO5vGHhrMV7YrYnQeI9PVFGRC4QhdIG0QfapTTnc IlxDDo2IGrKbxnszfzMsqT8zUgzrj3xb+ZNj0IswpWd3W9WNnYRLVLGrxv1ah/g8XcXU zjhbz5z8u8DOPKJNK7IYxdGjZvhkgfAhgkoK8PPMZ04z+5AgvOUd/bs7/0ikZkoS7wg4 viWbbw5TKPtOStBMW7QQvTRvMxeK0bRPe0Pi1LQJMn2Ui5ihlEAUULlZ6qJS7+DWmKOT /sNw== 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=Pf9u58nCBB5KSdFkjeqtX3BZpr2qst6basOq7kM4mEA=; b=WT9PplOpd871Q4FycieemTPkvdvsBeg6s/O7Ci9FHrlOM6QqUJCkxL4w5q8uBlAm15 RH2xLde/9hnjvWpw30PESw8SfAH7Rr1DG8jGfhnap5F6C8FIZZkuu00g07KTg5VHnOoE UBHcWtiArtQ0zvM8KqYGk8SbhsdFcFpZCuCiv4+bKAJB/xNsgwjch3xdKWRtkycFlH4E zdkgOb+RvEXy9r++bOr6YNzw7FP06QQRKPerRZPlGJTSDwczmIohguSLuWrqGFkDKNUT TFPl1fhcQ25Eqm12137G2hj6IwiVMhZhEX+HQWZxKDa2mml2VocLZJMyisg8d63Mh3r+ tvJw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw34-20020a1709066a2200b0073d847c65fdsi10753254ejc.587.2022.09.01.02.28.33; Thu, 01 Sep 2022 02:29:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233339AbiIAH5N (ORCPT + 99 others); Thu, 1 Sep 2022 03:57:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233271AbiIAH5M (ORCPT ); Thu, 1 Sep 2022 03:57:12 -0400 Received: from out199-14.us.a.mail.aliyun.com (out199-14.us.a.mail.aliyun.com [47.90.199.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 397D0DF0A3 for ; Thu, 1 Sep 2022 00:57:09 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R621e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0VNz0wRs_1662019025; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VNz0wRs_1662019025) by smtp.aliyun-inc.com; Thu, 01 Sep 2022 15:57:06 +0800 From: Yang Li To: alexander.deucher@amd.com Cc: harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, 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 indentings Date: Thu, 1 Sep 2022 15:56:55 +0800 Message-Id: <20220901075655.57494-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Yang Li --- 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