Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp376859rwo; Tue, 1 Aug 2023 19:19:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlHFnY+GpPJVoCV9bXpk7iIvYozPTS2c+QXin/p6+AGtu/DedRzWCV5HFXg9G3oKRxpS5uGZ X-Received: by 2002:a17:902:ecd0:b0:1bb:fcb9:f85 with SMTP id a16-20020a170902ecd000b001bbfcb90f85mr14590076plh.32.1690942763610; Tue, 01 Aug 2023 19:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690942763; cv=none; d=google.com; s=arc-20160816; b=eBNaAmgM5ay9VXSL13RCsz0AXd25W+iJfLVB7iZ+wdi0OR5OrYhEuIaSJJFH94FRpk FaDoHIqAKLo1LmqZeVsjqHYxKe1NNEhPdiH2vZrVsYtoutbP7UkhBs8pNI9FWLrxsryC 755O7fLNY5lOSEojfDRRTVSXVzQxQjB+c2s3hL7YMIii80pBXrsX06us+UpDY3hh8wAP PWhT22yj4mX+yZFSroi/K4WS46b0PloY/Db48KsQrhfwio9mBVsD1uOMWOYSez0imNdY JJbcUMNgS2IQaFV04HQ9MBVP1yB9tB0ieZASYRxS852gOiGF/g0NfJwbajFy39yOdDkO rrtQ== 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=Ef4cIK5Q8RAfYOnZKYriG+bxTG9YJmKUciCkdeXnWJ8=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=Fg1B4XMSbW2g5TclaGDopjPRobplLU53+P3Yz1D21wGST02+wcaad6DTZ79PHz3r3C 75gkyOnvUXW2DMMsGQ4HU6sL+pX2XRR4pDsdUbDgMuebQYdgTHly0FCGec5ONYVtxtQb iM+w/DQZYszDfwdYqHjlOY2HWxIJTjCH3tBOLeF8tdbwyJ8wyAKJ8hkXdLeS7zn+Knre pZ7vRFL0SjXitIwQtvS0pxdluYTy6C9PiMTN2IhJx+8/eQnoXz7VP3EldVKP8YCryMHg j4d4374GDjlZSHq4QAzWJThHIjC39PEGLaNmR31yAKQ68a4svjciGT08Et0u81PuPI4G QkjQ== 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 q9-20020a17090311c900b001b9e9edea43si8857410plh.552.2023.08.01.19.18.44; Tue, 01 Aug 2023 19:19:23 -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 S230280AbjHBBb2 (ORCPT + 99 others); Tue, 1 Aug 2023 21:31:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjHBBb1 (ORCPT ); Tue, 1 Aug 2023 21:31:27 -0400 Received: from out28-105.mail.aliyun.com (out28-105.mail.aliyun.com [115.124.28.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 927202102 for ; Tue, 1 Aug 2023 18:31:26 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1514801|-1;CH=blue;DM=|OVERLOAD|false|;DS=CONTINUE|ham_alarm|0.00456796-0.000204693-0.995227;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047198;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6Iyu6P_1690939879; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6Iyu6P_1690939879) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 09:31: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 smu7.h Date: Wed, 2 Aug 2023 01:31:18 +0000 Message-Id: <20230802013118.8677-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_H3,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/smu7.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/inc/smu7.h b/drivers/gpu/drm/amd/pm/powerplay/inc/smu7.h index e14072d45918..bfce9087a47f 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/inc/smu7.h +++ b/drivers/gpu/drm/amd/pm/powerplay/inc/smu7.h @@ -101,8 +101,7 @@ #define VR_SMIO_PATTERN_2 4 #define VR_STATIC_VOLTAGE 5 -struct SMU7_PIDController -{ +struct SMU7_PIDController { uint32_t Ki; int32_t LFWindupUL; int32_t LFWindupLL; @@ -136,8 +135,7 @@ typedef struct SMU7_PIDController SMU7_PIDController; #define SMU7_VCE_MCLK_HANDSHAKE_DISABLE 0x00010000 #define SMU7_VCE_SCLK_HANDSHAKE_DISABLE 0x00020000 -struct SMU7_Firmware_Header -{ +struct SMU7_Firmware_Header { uint32_t Digest[5]; uint32_t Version; uint32_t HeaderSize; -- 2.17.1