Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp494124imn; Tue, 26 Jul 2022 01:08:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tb4wW1Flw+BNxYa+MYksZiw4P7rlzvMLGKzNLdiZF5rO45VmVFUisxePCrI+GtvjzgLgig X-Received: by 2002:a17:902:778a:b0:16c:a1c9:7b14 with SMTP id o10-20020a170902778a00b0016ca1c97b14mr15877516pll.116.1658822885052; Tue, 26 Jul 2022 01:08:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658822885; cv=none; d=google.com; s=arc-20160816; b=Vkf+8VgIKHhSYBXQJ7HTNcWKbHdo1x2JJBoiz4YusIXRGyQspsna9RTEkKOuMK8xJG p0zEx5r2YVEiyHlY06LhM+7RxQBjdxk0uXxp7/J4bEsIubLYNmPYV/5VCOGi5Bhbu/3S FzawgwfnwU3HVNPTl221zdVrG9z3bGAkQshzKKXj0cj/7A7MXMQtgHBpV4yph3KdW+eL ccbBf6VqUEHNJ7/FAYDCCjGkL27at2bBDHgT1HBs+jcYbLtUntC+OHFwYkk4oQI9IH/y zrX7oyE1FsYeAOHEZNQpecteaLuB03LDjGVF7HcoFpaLvTRSaRrXE01guHnkkHifkPOQ uNYQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=tJg6kR7LuWfo9exs8fSKNXHFwKU5GzvFZLG+5J9O94E=; b=aRasrkDz8LbtfmT7sRELOgPqGJmntHm9zkLEv9C1/TGWgnbj+8UxKWZPc6VUUlLlov nK2PyMSfkmtFdIPIHWjTyMl8bv/bt8Kp+lEjnCeDs3OiRkitzwxf5Ytm2LIsS6DmVbZP rpToB9ErJhf0/RouuZ3lnNRAOTVB/+IWr0SlS02jcy40e0k108QDtcKaE4gv+VNNqJPu SEHHP1dRiqP1lQpgu6TuICna743m1/PnwTlChdON+Eq9MlbFsCaKQLSw0F8YompzHb1U PH04xzxa3PwIMEM6EFi47Ot5CC0PlNOPiXI7PwrnFfUlxNXux3D2u2o0uGDIaqwWmryQ wnvg== 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 f8-20020a633808000000b0041a75809619si2059194pga.650.2022.07.26.01.07.50; Tue, 26 Jul 2022 01:08:05 -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 S238496AbiGZHcQ (ORCPT + 99 others); Tue, 26 Jul 2022 03:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238465AbiGZHbY (ORCPT ); Tue, 26 Jul 2022 03:31:24 -0400 Received: from out30-56.freemail.mail.aliyun.com (out30-56.freemail.mail.aliyun.com [115.124.30.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77BDE2E9C8 for ; Tue, 26 Jul 2022 00:27:45 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VKUOH31_1658820429; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VKUOH31_1658820429) by smtp.aliyun-inc.com; Tue, 26 Jul 2022 15:27:11 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: 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, Jiapeng Chong , Abaci Robot Subject: [PATCH 12/20] drm/amd/display: Clean up some inconsistent indenting Date: Tue, 26 Jul 2022 15:25:47 +0800 Message-Id: <20220726072555.91323-12-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20220726072555.91323-1-jiapeng.chong@linux.alibaba.com> References: <20220726072555.91323-1-jiapeng.chong@linux.alibaba.com> 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,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,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 No functional modification involved. smatch warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_dwb.c:104 dwb2_enable() warn: inconsistent indenting. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c index 8d3884b306dd..f1490e97b6ce 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dwb.c @@ -101,8 +101,8 @@ static bool dwb2_enable(struct dwbc *dwbc, struct dc_dwb_params *params) struct dcn20_dwbc *dwbc20 = TO_DCN20_DWBC(dwbc); /* Only chroma scaling (sub-sampling) is supported in DCN2 */ -if ((params->cnv_params.src_width != params->dest_width) || - (params->cnv_params.src_height != params->dest_height)) { + if ((params->cnv_params.src_width != params->dest_width) || + (params->cnv_params.src_height != params->dest_height)) { DC_LOG_DWB("%s inst = %d, FAILED!LUMA SCALING NOT SUPPORTED", __func__, dwbc20->base.inst); return false; -- 2.20.1.7.g153144c