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

sunran001@208suo.com posted 1 patch 2 years, 1 month ago
There is a newer version of this series
drivers/gpu/drm/radeon/clearstate_si.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] drm/radeon: that open brace { should be on the previous line
Posted by sunran001@208suo.com 2 years, 1 month ago
ERROR: that open brace { should be on the previous line

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  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
Re: [PATCH] drm/radeon: that open brace { should be on the previous line
Posted by Alex Deucher 2 years, 1 month ago
Applied.  Thanks!

On Sun, Jul 23, 2023 at 11:37 PM <sunran001@208suo.com> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001@208suo.com>
> ---
>   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