Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5161323rwb; Mon, 31 Jul 2023 20:03:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlECMd+QBQ6w2f8sYNfAl+vGLkPYbbrKL9dlZiwFYOH/1SknuyVNSX7kJ6ud7ECMwCew6FgQ X-Received: by 2002:a05:6a20:1450:b0:131:3598:f4e9 with SMTP id a16-20020a056a20145000b001313598f4e9mr13861597pzi.32.1690859016643; Mon, 31 Jul 2023 20:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690859016; cv=none; d=google.com; s=arc-20160816; b=VAQNVs6gwRyEqZ1d/jeAxmmLznOBLIUxRLrgBDt22cPH50JquIvmbx8OaDqqykBmLn 8vepQ+MJgAUtdu+wJJciSzSYBxXauLk1MhqJkD9POoipuiKLtsLN8dnJ4Ph2qEeSjIdJ 8A/jozEiOdFivcyKq/QvATfH/aeLZT2523QJAwjG3FrT7FTTjvs2lIcoSj2cCb15r4Fg 5TaSpz1EA4sFkoFfZzy+qoy+YM/Xekz5O7itfBpG12Vf6ymQ/t4CPL23aXbASVO64yE/ nypKjE0vs5fZhPX4ceb+J0A7ona4ta9hLl4aCb3M754ZL7aLMVBOj4Pj4TBzDhceT+PF smKw== 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=zso0jZRG/YM8ngMV0WbYNNH/MLwP5dRcZX5ZKht5iro=; fh=uzQ2njGvRnNicAzoECU0n2pvDAEB0craVlwUtEtLFVc=; b=IecVTPLkT7ZaEUYtGHDCNu0QmE3DKatm55UY/WBGT8qtlbNbxAv782yOHp2VGyusci T547endqInuRWL2dqWD5dbXblCoRRrsvEeOnDNlXesJibAGNdiibSOEkN6iewm/wsv9T a8X+4zmR0PaJWbtr9ggf1YuDyaVF0nevPZHy8jKfqUM1xPRpe1Fa/zneErfyavnjqj9M 3LgVusIKAMylFpNyEPIfeniTrWjW0AYyJ5MQNbbn0QCxcFIZOI87od/5Hglg4DTa7qEd KerRAUeP7lcbjdVKHAOonWCHxz1iP3pd6l6iCn6MpzAst0+2w9+uKDLqoH2XStYGbrU4 MtBA== 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 cg24-20020a056a00291800b00686bf4616a9si8272404pfb.189.2023.07.31.20.03.23; Mon, 31 Jul 2023 20:03:36 -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 S230401AbjHACj0 (ORCPT + 99 others); Mon, 31 Jul 2023 22:39:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbjHACjZ (ORCPT ); Mon, 31 Jul 2023 22:39:25 -0400 Received: from out28-97.mail.aliyun.com (out28-97.mail.aliyun.com [115.124.28.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C9741723 for ; Mon, 31 Jul 2023 19:39:23 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2376815|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.0270291-0.000544939-0.972426;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047187;MF=sunran001@208suo.com;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_---.U5H.BoE_1690857556; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U5H.BoE_1690857556) by smtp.aliyun-inc.com; Tue, 01 Aug 2023 10:39:18 +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 vega20_hwmgr.h Date: Tue, 1 Aug 2023 02:39:15 +0000 Message-Id: <20230801023915.4756-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,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/vega20_hwmgr.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.h b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.h index 075c0094da9c..1ba9b5fe2a5d 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.h +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.h @@ -385,8 +385,7 @@ struct vega20_odn_data { struct vega20_odn_temp_table odn_temp_table; }; -enum OD8_FEATURE_ID -{ +enum OD8_FEATURE_ID { OD8_GFXCLK_LIMITS = 1 << 0, OD8_GFXCLK_CURVE = 1 << 1, OD8_UCLK_MAX = 1 << 2, @@ -399,8 +398,7 @@ enum OD8_FEATURE_ID OD8_FAN_ZERO_RPM_CONTROL = 1 << 9 }; -enum OD8_SETTING_ID -{ +enum OD8_SETTING_ID { OD8_SETTING_GFXCLK_FMIN = 0, OD8_SETTING_GFXCLK_FMAX, OD8_SETTING_GFXCLK_FREQ1, -- 2.17.1