lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <3f93eab5.639.18a26501c55.Coremail.chenxuebing@jari.cn>
Date:   Thu, 24 Aug 2023 14:51:38 +0800 (GMT+08:00)
From:   "XueBing Chen" <chenxuebing@...i.cn>
To:     alexander.deucher@....com, airlied@...il.com, daniel@...ll.ch
Cc:     amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
        linux-kernel@...r.kernel.org
Subject: [PATCH] drm/amdgpu/df: Clean up errors in df_v1_7.h

Fix the following errors reported by checkpatch:

ERROR: spaces required around that '=' (ctx:WxV)
ERROR: open brace '{' following enum go on the same line

Signed-off-by: XueBing Chen <chenxuebing@...i.cn>
---
 drivers/gpu/drm/amd/amdgpu/df_v1_7.h | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/df_v1_7.h b/drivers/gpu/drm/amd/amdgpu/df_v1_7.h
index 74621104c487..22b3d66c4f66 100644
--- a/drivers/gpu/drm/amd/amdgpu/df_v1_7.h
+++ b/drivers/gpu/drm/amd/amdgpu/df_v1_7.h
@@ -25,14 +25,13 @@
 #define __DF_V1_7_H__
 
 #include "soc15_common.h"
-enum DF_V1_7_MGCG
-{
+enum DF_V1_7_MGCG {
 	DF_V1_7_MGCG_DISABLE = 0,
-	DF_V1_7_MGCG_ENABLE_00_CYCLE_DELAY =1,
-	DF_V1_7_MGCG_ENABLE_01_CYCLE_DELAY =2,
-	DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY =13,
-	DF_V1_7_MGCG_ENABLE_31_CYCLE_DELAY =14,
-	DF_V1_7_MGCG_ENABLE_63_CYCLE_DELAY =15
+	DF_V1_7_MGCG_ENABLE_00_CYCLE_DELAY = 1,
+	DF_V1_7_MGCG_ENABLE_01_CYCLE_DELAY = 2,
+	DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY = 13,
+	DF_V1_7_MGCG_ENABLE_31_CYCLE_DELAY = 14,
+	DF_V1_7_MGCG_ENABLE_63_CYCLE_DELAY = 15
 };
 
 extern const struct amdgpu_df_funcs df_v1_7_funcs;
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ