2023-07-24 04:00:47

by Ran Sun

[permalink] [raw]
Subject: [PATCH] drm/radeon: that open brace { should be on the previous line

ERROR: that open brace { should be on the previous line

Signed-off-by: Ran Sun <[email protected]>
---
drivers/gpu/drm/radeon/clearstate_si.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/radeon/clearstate_si.h
b/drivers/gpu/drm/radeon/clearstate_si.h
index 356219c6c7f2..7da8418704fe 100644
--- a/drivers/gpu/drm/radeon/clearstate_si.h
+++ b/drivers/gpu/drm/radeon/clearstate_si.h
@@ -23,8 +23,7 @@

#include "clearstate_defs.h"

-static const u32 si_SECT_CONTEXT_def_1[] =
-{
+static const u32 si_SECT_CONTEXT_def_1[] = {
0x00000000, // DB_RENDER_CONTROL
0x00000000, // DB_COUNT_CONTROL
0x00000000, // DB_DEPTH_VIEW


2023-07-24 21:57:07

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/radeon: that open brace { should be on the previous line

Applied. Thanks!

On Sun, Jul 23, 2023 at 11:37 PM <[email protected]> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <[email protected]>
> ---
> drivers/gpu/drm/radeon/clearstate_si.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/clearstate_si.h
> b/drivers/gpu/drm/radeon/clearstate_si.h
> index 356219c6c7f2..7da8418704fe 100644
> --- a/drivers/gpu/drm/radeon/clearstate_si.h
> +++ b/drivers/gpu/drm/radeon/clearstate_si.h
> @@ -23,8 +23,7 @@
>
> #include "clearstate_defs.h"
>
> -static const u32 si_SECT_CONTEXT_def_1[] =
> -{
> +static const u32 si_SECT_CONTEXT_def_1[] = {
> 0x00000000, // DB_RENDER_CONTROL
> 0x00000000, // DB_COUNT_CONTROL
> 0x00000000, // DB_DEPTH_VIEW