Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp367926rwo; Tue, 1 Aug 2023 19:06:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlF4kT1FTMhAsCtkLCYW4z6WUuDl4E69y6JXJwmVVoaPzEbY3DbXPN+IeNPvVX0R9lxjZW0n X-Received: by 2002:a05:6512:46d:b0:4fb:99c7:bb60 with SMTP id x13-20020a056512046d00b004fb99c7bb60mr3360291lfd.59.1690941991205; Tue, 01 Aug 2023 19:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690941991; cv=none; d=google.com; s=arc-20160816; b=zopdjiYnWqyo7QWocPoGRdwSt+rTGs3eLaaCQrmC816iAtBMlmM32NCDcWCIxt1Cm4 9EAHbGYQhrEcBMzX5G0hHS1tyja+LwOEu4SucFnpXDLajigUmjQmvHh7x21ZHWfBeGfl hPBeEXQqjsarGiW9X3RuAOdHwrQHE80ZpHzwkqLsubTBqRX1FNDlgaBnvWeF1UWr02tQ 6W7LCuozJaRbNZ4iZ/iw9OAlrqgfMxURDueDCpilgINs8/Tzx6X10FM1xZIo2GTplFJo WadUWjtURSoEwfhWZnE9xquIwehMzduQe1lgaOhp5Q4qxlbpgGbuUN/k7JB7nPBTDTBE AJcA== 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=Cs026MzGvIt2k8PmWmlv6aUd2GSnk2PldifgFqcxmEo=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=Abbyj5nHNWslqiz5kCZhUwd2kme7aySbKa/rVR3Uw9EHXgCGY+3HHVobprsHePEX7W h69FZMeRfon7hA7hP5VE5HkO+kNBwIzbnAPdlAz40YnY08DZuWWq68yDuYeLMXoe1Eya 6tP9FZ3NAY0artezzfvU337uBUr62d/bpm4R3jB5us1u7LMXDwQB9Ii/zdT9yVFBnm1d 1LugSn6DZGAn8jqJ4UK3J3cxYrPM0sBDrzvgbAdHSh4ZUE0FerLy9TJkB7X/lNauaPeG TUsRFktkXW292NE4o+zcQBbxNAgkm0/Y7FqKf7WvCwBwDFeXJClgKFZ0P327BMdKCk2X F9aA== 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 d4-20020a50ea84000000b0052240e8eb02si28362edo.460.2023.08.01.19.06.06; Tue, 01 Aug 2023 19:06:30 -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 S231794AbjHBBkZ (ORCPT + 99 others); Tue, 1 Aug 2023 21:40:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231258AbjHBBkM (ORCPT ); Tue, 1 Aug 2023 21:40:12 -0400 Received: from out28-112.mail.aliyun.com (out28-112.mail.aliyun.com [115.124.28.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9B6E2D4B for ; Tue, 1 Aug 2023 18:39:47 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.5120696|-1;CH=blue;DM=|OVERLOAD|false|;DS=CONTINUE|ham_alarm|0.141021-0.000878557-0.858101;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047201;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6Iz1dD_1690940380; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6Iz1dD_1690940380) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 09:39:42 +0800 From: Ran Sun To: alexander.deucher@amd.com 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 hardwaremanager.h Date: Wed, 2 Aug 2023 01:39:39 +0000 Message-Id: <20230802013939.8855-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_NONE, 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 struct go on the same line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h b/drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h index 01a7d66864f2..f4f9a104d170 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h +++ b/drivers/gpu/drm/amd/pm/powerplay/inc/hardwaremanager.h @@ -44,8 +44,7 @@ struct phm_fan_speed_info { }; /* Automatic Power State Throttling */ -enum PHM_AutoThrottleSource -{ +enum PHM_AutoThrottleSource { PHM_AutoThrottleSource_Thermal, PHM_AutoThrottleSource_External }; -- 2.17.1