Skip to contentSkip to conversation

drm/amdgpu: open brace '{' following struct go on the same line

PATCH Applied [email protected] 2 participants 2 messages Jul 21, 2023 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 drm/amdgpu: open brace '{' following struct go on the same line

ERROR: open brace '{' following struct go on the same line

---
 drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h +1 -2
index 52045ad59bed..eec816f0cbf9 100644
@@ -24,8 +24,7 @@
 #ifndef __AMDGPU_PM_H__
 #define __AMDGPU_PM_H__
 
-struct cg_flag_name
-{
+struct cg_flag_name {
 	u64 flag;
 	const char *name;
 };
Applied
#2 lore raw

Applied. Thanks!

Alex

Quoted 23 lines · On Thu, Jul 20, 2023 at 11:32 PM <[email protected]> wrote:

ERROR: open brace '{' following struct go on the same line

---
  drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h +1 -2
index 52045ad59bed..eec816f0cbf9 100644
@@ -24,8 +24,7 @@
  #ifndef __AMDGPU_PM_H__
  #define __AMDGPU_PM_H__
 
-struct cg_flag_name
-{
+struct cg_flag_name {
        u64 flag;
        const char *name;
  };