Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp400042rwo; Tue, 1 Aug 2023 19:56:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlGxIc8mAsH8hN9ELXMuKc9h2S/yi3wDSLiUHprmbpM9xw42A5MFTEei7l8uTg2KdzdFGTue X-Received: by 2002:aa7:ca54:0:b0:522:38f9:4d5b with SMTP id j20-20020aa7ca54000000b0052238f94d5bmr3701309edt.18.1690944989355; Tue, 01 Aug 2023 19:56:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690944989; cv=none; d=google.com; s=arc-20160816; b=VPGlZOzeTYgcMOD028NFVwh0jGty3cTQtlZeuUgjejIUGHYbl2CR/p9NVPojeTNlH7 nTJ2X/FimX17+6Q8BOW2z84aHxytI21Mvfa8twZCH0H8MdnqyXB+ql9iP5dSi9UHwcaM O5xpPyNQ0XYTJp5C46A6YikqS6ZQG+rhRw44J4/hcv1gBYyl5I0luTPMlachWQxuyg/D Vkb7SaprPdEHWVIuRaGuZHaJsglyvQDCa1veJU/yQQHOCV3wLxLNOfGFRbl/07G20ttw RNyhVTYJSZFT9BjglDTyIQ/mdFmgMPxJu0yvjFd5KSJfpg1S7gYkYEzNEQX/KZbKPRY8 C6Mg== 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=7gVWq7wbBTJ3KVUZx5JYO9XDddAl3QC9xSTQTXaCHRI=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=hPw5KClFtbhLjK/9MEpCWa+czfcdWilGEB1IELDNphUZJPhZ4kQyK50jJtswACdw4X uQUTuweEZHZD245huiVQ4QAiou/SQGQcGkXur9P2kfPwpyfElZFf6Eut9XI8pauDZ9/7 PZ8f/YkAUoHb/os74baVsadY7Vp6xhWmj7jaVBCQ8wc90+bnfjcpYxGLZkqZmEGwWGz+ OVRYVIfUewR4vV0z+nXROiyiqkCYcM9TQh9sLmLPraYQojtJvFElvLYcakc9jVCLUX7s CRzmSHbTJwak69pZE6xit6htEyGERrBHs4daQMBA7pged8rtsEknwq3/AJnn9/xywNoT pRzQ== 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 qu17-20020a170907111100b0099bcbcbd7a7si9538102ejb.812.2023.08.01.19.56.04; Tue, 01 Aug 2023 19:56:29 -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 S230409AbjHBBjy (ORCPT + 99 others); Tue, 1 Aug 2023 21:39:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjHBBjw (ORCPT ); Tue, 1 Aug 2023 21:39:52 -0400 Received: from out28-127.mail.aliyun.com (out28-127.mail.aliyun.com [115.124.28.127]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB25E30C6 for ; Tue, 1 Aug 2023 18:39:26 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.4792903|-1;CH=blue;DM=|OVERLOAD|false|;DS=CONTINUE|ham_alarm|0.0767665-0.000288784-0.922945;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047212;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6Jqo9R_1690940299; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6Jqo9R_1690940299) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 09:38:21 +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 pp_thermal.h Date: Wed, 2 Aug 2023 01:38:18 +0000 Message-Id: <20230802013818.8766-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_H2,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/pp_thermal.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/inc/pp_thermal.h b/drivers/gpu/drm/amd/pm/powerplay/inc/pp_thermal.h index f7c41185097e..2003acc70ca0 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/inc/pp_thermal.h +++ b/drivers/gpu/drm/amd/pm/powerplay/inc/pp_thermal.h @@ -25,14 +25,12 @@ #include "power_state.h" -static const struct PP_TemperatureRange __maybe_unused SMU7ThermalWithDelayPolicy[] = -{ +static const struct PP_TemperatureRange __maybe_unused SMU7ThermalWithDelayPolicy[] = { {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000}, { 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000}, }; -static const struct PP_TemperatureRange __maybe_unused SMU7ThermalPolicy[] = -{ +static const struct PP_TemperatureRange __maybe_unused SMU7ThermalPolicy[] = { {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000}, { 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000, 120000}, }; -- 2.17.1