Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5438419rwb; Tue, 1 Aug 2023 02:31:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlFDpzIKuGFj14MvYTeNL+wV2MPtqN40Q+sKltYlK3JYUWwEcy7Ji8lpGxkOvR8pCQpkJz2r X-Received: by 2002:aa7:d805:0:b0:522:aa7b:1543 with SMTP id v5-20020aa7d805000000b00522aa7b1543mr2136848edq.11.1690882316487; Tue, 01 Aug 2023 02:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690882316; cv=none; d=google.com; s=arc-20160816; b=xeyNluLfRopageIwtt5cYIv1md4irGZxmiT/UMcB841q7rta8RlAJSSWyvtq59/IYG MrTTeUWQR8DE5XaA93kbt0eklINIGPFc4Ssr2RvVlvGcdeQQZz8B6wJZts/iKDKhy2Wv t/+inVrG6NoeZpMMKgvY6xFCKkOruadJt8oN8AIXT0V81KUYPrbPZl56FCc6N3/yUm7X p3K7J341caf9dEiLcBhBkDoASNmQrjm5gcv7RLXehPrIYjp8mGS0h9jxK1W31C6wqpbI gZ5FywrAMCswX86tdjMMFAFKMjvc1gTiNur2ZXgqxxc8Cr/tsmAMvBP6VBQ3WFkRNbg6 9kMQ== 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=Hcg+uV/ub/zLHs6el+sjXeRqvF4oxSONG1pIBRICYdA=; fh=uzQ2njGvRnNicAzoECU0n2pvDAEB0craVlwUtEtLFVc=; b=YnQ4AvgOv4zh6c87pvQ2VcrQEjXtDdQvs8ebNGZ3oOpJozJuVTdhHTrI4aj01xP8/T Td2scKd7McAYpAA7E6bYvJsHekDLTV995PMNQfDdkDkkwZvywzyNFMQazmB6/EtGf6g2 O4zDwLBiV6YIEbqtB+2xxlrRxBYxJugrs0lj3XtzvYwQMyb5hGp1HUmnqxTigRUWlglB o4hXg2nyFXdd7AVCM1QQsRzOl89W5t8qiY5e7rJA3JgSmdVITJETkDGcfW/RQZMfWtYV izf/fb7goyoFa2wrCwdm4ldnBECLj8ctuDawuC1uF9EylQ5/X8NBcH8KRd2CxMU+tIZZ im/w== 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 h10-20020a50ed8a000000b005223e8841desi7889283edr.173.2023.08.01.02.31.31; Tue, 01 Aug 2023 02:31:56 -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 S232323AbjHAJFK (ORCPT + 99 others); Tue, 1 Aug 2023 05:05:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232324AbjHAJEk (ORCPT ); Tue, 1 Aug 2023 05:04:40 -0400 Received: from out28-77.mail.aliyun.com (out28-77.mail.aliyun.com [115.124.28.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DF32273F for ; Tue, 1 Aug 2023 02:03:18 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.08914465|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_enroll_verification|0.0343368-0.000303458-0.96536;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_---.U5pdWgb_1690880559; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U5pdWgb_1690880559) by smtp.aliyun-inc.com; Tue, 01 Aug 2023 17:02:42 +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 pptable_v1_0.h Date: Tue, 1 Aug 2023 09:02:37 +0000 Message-Id: <20230801090237.7011-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_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 struct go on the same line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h index b0ac4d121adc..7a31cfa5e7fb 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h @@ -419,8 +419,7 @@ typedef struct _ATOM_Fiji_PowerTune_Table { USHORT usReserved; } ATOM_Fiji_PowerTune_Table; -typedef struct _ATOM_Polaris_PowerTune_Table -{ +typedef struct _ATOM_Polaris_PowerTune_Table { UCHAR ucRevId; USHORT usTDP; USHORT usConfigurableTDP; -- 2.17.1