* [PATCH] drm/amdgpu: open brace '{' following struct go on the same line
[not found] <20230721033048.4840-1-xujianghui@cdjrlc.com>
@ 2023-07-21 3:32 ` sunran001
2023-07-21 15:57 ` Alex Deucher
0 siblings, 1 reply; 2+ messages in thread
From: sunran001 @ 2023-07-21 3:32 UTC (permalink / raw)
To: alexander.deucher, airlied, daniel; +Cc: amd-gfx, dri-devel, linux-kernel
ERROR: open brace '{' following struct go on the same line
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
index 52045ad59bed..eec816f0cbf9 100644
--- a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
+++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
@@ -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;
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amdgpu: open brace '{' following struct go on the same line
2023-07-21 3:32 ` [PATCH] drm/amdgpu: open brace '{' following struct go on the same line sunran001
@ 2023-07-21 15:57 ` Alex Deucher
0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2023-07-21 15:57 UTC (permalink / raw)
To: sunran001
Cc: alexander.deucher, airlied, daniel, dri-devel, amd-gfx, linux-kernel
Applied. Thanks!
Alex
On Thu, Jul 20, 2023 at 11:32 PM <sunran001@208suo.com> wrote:
>
> ERROR: open brace '{' following struct go on the same line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
> drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
> b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
> index 52045ad59bed..eec816f0cbf9 100644
> --- a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
> +++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
> @@ -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;
> };
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-21 15:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230721033048.4840-1-xujianghui@cdjrlc.com>
2023-07-21 3:32 ` [PATCH] drm/amdgpu: open brace '{' following struct go on the same line sunran001
2023-07-21 15:57 ` Alex Deucher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®