Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5472115rwb; Tue, 1 Aug 2023 03:13:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlE5avsbtCo01rnGl2jUWKhVGk+/0qVBBGJWPPu2nR84YrTN6lleaMasrB4OLk5kfwcPl/2W X-Received: by 2002:a05:6a20:3d02:b0:12c:e3c8:8c7 with SMTP id y2-20020a056a203d0200b0012ce3c808c7mr13882415pzi.41.1690884833219; Tue, 01 Aug 2023 03:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690884833; cv=none; d=google.com; s=arc-20160816; b=VYTONQNPU0Pz4O0zjQ75rwbYK5mRbxbagmSf+uocB4KesIVsmJmLhlp8I2rEEVpXIO LQAtFRzhe8ZGbU420GQXj7f6zDg/1KALMpalccRPDTPqnQI+LVNEC9GRYHvvOOGB9rij 6ymiMXlFS8Bi1eYhB3ca1d71u/tqXpEOJWTUlgJgjaQiEgrtHJKki70c8WlYvOkMLiFH U5Alq9+Ran8IFG1gCdcIShxiVTwCUqEzNWkvOxR1e1vBwi8hpNuoZNqHCr6tNhcL2hoQ KL9Z6wTBP6b6QD16VBDAbp0m9waTGL5DYG19mGWtzAh0WmxYgELV4s/MYiP3Rgx0u0Y7 7C2A== 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=NtbiDozbvvsR85EXJQYrO2G2oh+opWIqH76jEXbwyeE=; fh=uzQ2njGvRnNicAzoECU0n2pvDAEB0craVlwUtEtLFVc=; b=YFqaHVlw4XqPp1WnEzXer8aW1lgmrBBlGL7Xo+z10gem9BDu1rRXf0wVI/sN8drZjt rPkYBZAkwiKOEfFykbbZOtAgMfgTu6EwO1P3a9WsTZ3fHGvpw2WrvcFF1t2IVRzVFQIl 8eWJK/U5Eh68PLLajtol+njLL+fQw4rJIgSrJdWZKDQ3aA1WaaPx3xAuDSmseXbWiGtm 972k0I7027cDTrzqSjdoSKLK/sanDr3kQA2aMCm7okYbfv2HnW73jBhyPdBJd4B4BxMq LePaSW0162URYL1daXGQKB5qOSuA+MC5ld1ivP2UgBt2d5fBpC2aNGuGvvw4o5EMU6+8 Z7sg== 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 cq7-20020a056a00330700b00686dafa1aa1si9065874pfb.28.2023.08.01.03.13.41; Tue, 01 Aug 2023 03:13:53 -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 S233393AbjHAJlU (ORCPT + 99 others); Tue, 1 Aug 2023 05:41:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233282AbjHAJkz (ORCPT ); Tue, 1 Aug 2023 05:40:55 -0400 Received: from out28-125.mail.aliyun.com (out28-125.mail.aliyun.com [115.124.28.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B45275246 for ; Tue, 1 Aug 2023 02:38:47 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.5111754|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.0993225-0.000355378-0.900322;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047192;MF=sunran001@208suo.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.U5s-DtI_1690882719; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U5s-DtI_1690882719) by smtp.aliyun-inc.com; Tue, 01 Aug 2023 17:38:40 +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/pm: Clean up errors in vega12_hwmgr.h Date: Tue, 1 Aug 2023 09:38:32 +0000 Message-Id: <20230801093832.7849-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,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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 enum go on the same line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h index aa63ae41942d..9f2ce4308548 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h @@ -38,8 +38,7 @@ #define VG12_PSUEDO_NUM_DCEFCLK_DPM_LEVELS 8 #define VG12_PSUEDO_NUM_UCLK_DPM_LEVELS 4 -enum -{ +enum { GNLD_DPM_PREFETCHER = 0, GNLD_DPM_GFXCLK, GNLD_DPM_UCLK, -- 2.17.1