Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5415038rwb; Tue, 1 Aug 2023 02:03:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlEoXcFwo22yuqz9kW4GdIrCbzN/nxM88K1hyxEoDe8nizUSWxFnJH1hbWFELJ0jJiPC1KK2 X-Received: by 2002:a05:6a00:138a:b0:687:4dd1:92f8 with SMTP id t10-20020a056a00138a00b006874dd192f8mr3147020pfg.10.1690880582949; Tue, 01 Aug 2023 02:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690880582; cv=none; d=google.com; s=arc-20160816; b=JaahTNh4liiduzhJvG0gm5UVpUvHxpU9eNQo3wyqoVrRZcnOjYgaqhKopdFCLy/xIn A6vuu/U0lw4Crx2nspMzl/3q8jCkayAGRy+A8TH1FAL/1l3W+IKYfWCzaEDZFxYrWcAN 2O/BALjhK3a9u4GlBFmekxojeBsiLHnaPQNSRd/EJn9uEeQSZhIOobw8ZG4TNdQ4KIPq tr38DP4QfMXlkfRFHaysZMAUKcvIiBM8sT/qPpFq/dsNjsJS9Y4E1gedisS+8VGOQh79 ZEQBngR5cRGTWdum4uA25G/VrKL4DF+dK7Egj5rr3mUjcultLb2u8f86KD48VPnMvIEk JrOA== 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=W1s2Ma4rgJb/GO3UAlPatCqURnhFnwUDEZIe3NwgXio=; fh=uzQ2njGvRnNicAzoECU0n2pvDAEB0craVlwUtEtLFVc=; b=MNNEXGpR8Yrjr+Uejj8mVq5lBRUpimpGUT389hJwR+tTiIvRtsmkYDSzIdg5H3UxLM /py3aE2H25mb8pLiPkkbMiMGKfKrOhPmz4mh8tWY9V6Q+UWpF4zoCf5VjnLkLcZlHh2T pckBVwPTsn7Zj8LUehdvTmf9XXOjXM2a62Ez3bfsmnuX6CIDJcdvJAymtiJWbDcQGJX6 A8kmpuNzLI6VfoKOb0CgraUH8iDKf613s/Tm5L5Pu75vNRMyyJY4wS4gCO1WlR8YrXT2 83vQUAjRwY3AFtStkuwPTPYzAT00ul8Z4/w9Ti4CptTQYJUyrWNw7gcU63aJY/eqDjXI 9dww== 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 y64-20020a638a43000000b0053f479ef142si5832219pgd.124.2023.08.01.02.02.44; Tue, 01 Aug 2023 02:03:02 -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 S231142AbjHAIhZ (ORCPT + 99 others); Tue, 1 Aug 2023 04:37:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230442AbjHAIhX (ORCPT ); Tue, 1 Aug 2023 04:37:23 -0400 Received: from out28-3.mail.aliyun.com (out28-3.mail.aliyun.com [115.124.28.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E3C5DA for ; Tue, 1 Aug 2023 01:37:20 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1057698|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.0623579-0.000287539-0.937355;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_---.U5ob-Yq_1690879031; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U5ob-Yq_1690879031) by smtp.aliyun-inc.com; Tue, 01 Aug 2023 16:37:13 +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/amdgpu: Clean up errors in ppatomctrl.h Date: Tue, 1 Aug 2023 08:37:10 +0000 Message-Id: <20230801083710.6738-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/ppatomctrl.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.h b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.h index b3103bd4be42..1f987e846628 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.h +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.h @@ -278,16 +278,14 @@ struct pp_atom_ctrl__avfs_parameters { uint8_t ucReserved; }; -struct _AtomCtrl_HiLoLeakageOffsetTable -{ +struct _AtomCtrl_HiLoLeakageOffsetTable { USHORT usHiLoLeakageThreshold; USHORT usEdcDidtLoDpm7TableOffset; USHORT usEdcDidtHiDpm7TableOffset; }; typedef struct _AtomCtrl_HiLoLeakageOffsetTable AtomCtrl_HiLoLeakageOffsetTable; -struct _AtomCtrl_EDCLeakgeTable -{ +struct _AtomCtrl_EDCLeakgeTable { ULONG DIDT_REG[24]; }; typedef struct _AtomCtrl_EDCLeakgeTable AtomCtrl_EDCLeakgeTable; -- 2.17.1