Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4313219rwb; Mon, 16 Jan 2023 22:08:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXvoQX45iZfDlb+2CbxX79Wec3IggbYD32NDpZrP6kgjg87ftl8Y8DrYef7xEyf6hzkj84q6 X-Received: by 2002:a05:6a00:d5e:b0:589:a782:470c with SMTP id n30-20020a056a000d5e00b00589a782470cmr19782242pfv.2.1673935714482; Mon, 16 Jan 2023 22:08:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673935714; cv=none; d=google.com; s=arc-20160816; b=hwMVAC99/tUgwbspYO+YQImfGOdGJLBmuwnY8Tx/K+YH8yaYUN26yWYOiBO9bQx83Q mawjaWAmHaNDzCf5HSAaXo9Ol2zeNdfAjVqNWsuD8jFIMNDGz5pRLKlEf54hbOoP4llF DkA9M3KjOkVEcFanRqzP0sRDMIUa2b92Zia8hsimGPNxGuq7aijAMun0wE70g5rC4dFH jB3No4ocBafPq4h2X7ZoUSrMJ5pNKJn0O1Xqeij3ZlwDysY1N+z1XRrGUKG8kqE+ppdG Iq6vYlcOvSzmDyEvlGbqYXMiYxjyY7j54IE0FqPkLqGudkpf0l1AVD7+h0I72viNNKAt 1Xjw== 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=ivSjT7LL8yE8x7Gu/xq9t3O5w5rtfOtwHQWKZIQkIUg=; b=XSwdd0GWE2VkrvZwC+WqyJH3pXPD8az2Htfa2Sx2YCc2GRIXj9QdJxGbXwtmWCdYtO RFR7b4jRydlnFtmUIUPOur6p5QfAAMCuqXvpTElCFynew9Ru4CCiy4C8KPustDKBZ0iA IzGtQzjf9yph1KaRym5ChCut+Zul/qFdN8IswKuKpVPcDyvdm/Y8gKI1G5zwpQnUCKJO XkdMGZoDOFjPPpEXPltHLJt22OhmnsruPFva55KswMmGlXaRumsvujWmirPdFNWZPiM+ aIRGEEEsKJ9xk7Z9ptFrGxUAG09hnJioVer0eNvH3giutOlG42JqfiQGb3XzUaHRVWpl jFXQ== 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 d145-20020a621d97000000b0056cb8f67eefsi30411998pfd.70.2023.01.16.22.08.26; Mon, 16 Jan 2023 22:08:34 -0800 (PST) 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 S235570AbjAQGA6 (ORCPT + 52 others); Tue, 17 Jan 2023 01:00:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235620AbjAQF7y (ORCPT ); Tue, 17 Jan 2023 00:59:54 -0500 Received: from out30-7.freemail.mail.aliyun.com (out30-7.freemail.mail.aliyun.com [115.124.30.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D17923304 for ; Mon, 16 Jan 2023 21:59:46 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VZluILG_1673935178; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VZluILG_1673935178) by smtp.aliyun-inc.com; Tue, 17 Jan 2023 13:59:42 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 3/3] drm/amd/display: Clean up some inconsistent indenting Date: Tue, 17 Jan 2023 13:59:22 +0800 Message-Id: <20230117055922.53911-2-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20230117055922.53911-1-jiapeng.chong@linux.alibaba.com> References: <20230117055922.53911-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_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. drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_hpd.c:140 get_hpd_line() warn: inconsistent indenting. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3787 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/link/link_hpd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/link/link_hpd.c b/drivers/gpu/drm/amd/display/dc/link/link_hpd.c index 5f39dfe06e9a..4746ea623354 100644 --- a/drivers/gpu/drm/amd/display/dc/link/link_hpd.c +++ b/drivers/gpu/drm/amd/display/dc/link/link_hpd.c @@ -137,10 +137,9 @@ enum hpd_source_id get_hpd_line(struct dc_link *link) struct gpio *hpd; enum hpd_source_id hpd_id; - hpd_id = HPD_SOURCEID_UNKNOWN; - + hpd_id = HPD_SOURCEID_UNKNOWN; hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, - link->ctx->gpio_service); + link->ctx->gpio_service); if (hpd) { switch (dal_irq_get_source(hpd)) { -- 2.20.1.7.g153144c