Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5439517rwb; Tue, 1 Aug 2023 02:33:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlHLvFOxVdVFO69XU9jxA7OKgbczTKcHUAqq2LrZ+Uq37x5p/tVX6mTE9vlY6kJSx/G8y7gw X-Received: by 2002:aa7:cd0f:0:b0:522:1f34:2265 with SMTP id b15-20020aa7cd0f000000b005221f342265mr1934725edw.2.1690882401220; Tue, 01 Aug 2023 02:33:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690882401; cv=none; d=google.com; s=arc-20160816; b=TB0W6IGY7A6iQAJeauBBfFJM6Mq8SdPEIcGV4Vau9XXN5D5eqaAeUQZsPU/Q875uiV ANTtxKhRgcyg6VQ3fXrp31JiMju2Du98YGgilSVIapalVfzY3I+cRYmnd6EenriBJRPg 8qwo2MlYjyG+sS4VAA6bPO7llysCo7mcpwFpLB3Nv2UaqqzN8uDrakORb9P0sEGF/qpv v2RN6MlliYNmzShD4Zz5+THN4c3WfGCRJLtdiF6m+xYhiw7x+gQOhSfIabN2g8Tb4DKG WQXqDJd4S/tExeLV9rSDMITJc5ME1G07l5IVpWC9LK4pDbYpSfz4pdUEvf4ON0oqG+od 2LaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=+a18tP2arh5DAp8mHIOkaZWsux7fW03YM7Qpz+D+8Bc=; fh=uzQ2njGvRnNicAzoECU0n2pvDAEB0craVlwUtEtLFVc=; b=MsREGzu72/59c5o2T5YLsUSrRXNPwY3S8np5NY1MXYCu+/PFPRaEq5ny6ZtB0d6EZ2 9p8zBxn33Xtv2Z9bStWW3F8Cq34Fyq7Q1vfSIWVjBKA2C2KqrpF8MgHPclAFUVeTUKjf DYjhb+A0GKOpGXa8XST6JylE+NQB4pt//vd6EjBadg3GXFCJ6IGwZfONaiwE5QdS07SU t55PNfBUqHDm0OtIb1e7q9HFz+tEydEuGCOPGSOGslIJaLGf/5NnMaNI5rWqiHGrXw4B E3RQbdtzGjHEpGN/OUTSOqOmnIfHl7DaUdq+M++OLXnIiHnjuBD+VvWqePj/Y0KRM2nd nHMw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b17-20020aa7c911000000b0052279fdc5e0si4233853edt.522.2023.08.01.02.32.56; Tue, 01 Aug 2023 02:33:21 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232457AbjHAJRK (ORCPT + 99 others); Tue, 1 Aug 2023 05:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231204AbjHAJQt (ORCPT ); Tue, 1 Aug 2023 05:16:49 -0400 Received: from out198-5.us.a.mail.aliyun.com (out198-5.us.a.mail.aliyun.com [47.90.198.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAE5944BB for ; Tue, 1 Aug 2023 02:15:44 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1113862|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.0177519-0.00266611-0.979582;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047212;MF=sunran001@208suo.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.U5qtWqJ_1690881266; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U5qtWqJ_1690881266) by smtp.aliyun-inc.com; Tue, 01 Aug 2023 17:14:30 +0800 From: Ran Sun To: alexander.deucher@amd.com, airlied@gmail.com, daniel@ffwll.ch Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ran Sun Subject: [PATCH] drm/amd: Clean up errors in processpptables.c Date: Tue, 1 Aug 2023 09:14:25 +0000 Message-Id: <20230801091425.7181-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY 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 Fix the following errors reported by checkpatch: ERROR: open brace '{' following function definitions go on the next line ERROR: code indent should use tabs where possible ERROR: space required before the open parenthesis '(' Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c index 1866fe20f9e2..f05f011c78be 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c @@ -676,7 +676,7 @@ static PP_StateClassificationFlags make_classification_flags( static int init_non_clock_fields(struct pp_hwmgr *hwmgr, struct pp_power_state *ps, uint8_t version, - const ATOM_PPLIB_NONCLOCK_INFO *pnon_clock_info) + const ATOM_PPLIB_NONCLOCK_INFO *pnon_clock_info) { unsigned long rrr_index; unsigned long tmp; -- 2.17.1