[PATCH] drm/amd/pm: that open brace { should be on the previous line
Alex Deucher
alexdeucher at gmail.com
Mon Jul 24 21:53:33 UTC 2023
Applied. Thanks!
On Mon, Jul 24, 2023 at 4:42 AM <sunran001 at 208suo.com> wrote:
>
> ERROR: that open brace { should be on the previous line
>
> Signed-off-by: Ran Sun <sunran001 at 208suo.com>
> ---
> drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h
> b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h
> index beab6d7b28b7..630132c4a76b 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h
> +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h
> @@ -52,8 +52,7 @@ static unsigned int DbiPrbs7[] =
>
>
> //4096 bytes, 256 byte aligned
> -static unsigned int NoDbiPrbs7[] =
> -{
> +static unsigned int NoDbiPrbs7[] = {
> 0x0f0f0f0f, 0x0f0f0f0f, 0x0f0f0f0f, 0xf0f00f0f, 0x0f0f0f0f,
> 0x0f0f0f0f, 0xf0f0f0f0, 0x0f0f0f0f, 0x0f0f0f0f, 0xf0f00f0f, 0xf0f00f0f,
> 0x0f0f0f0f, 0xf0f0f0f0, 0xf0f0f0f0, 0x0f0f0f0f, 0xf0f00f0f,
> 0x0f0f0f0f, 0xf0f00f0f, 0xf0f0f0f0, 0x0f0f0f0f, 0xf0f0f0f0,
> 0xf0f00f0f, 0xf0f00f0f, 0xf0f00f0f, 0x0f0ff0f0, 0xf0f0f0f0, 0xf0f0f0f0,
> 0x0f0ff0f0, 0x0f0f0f0f, 0x0f0f0f0f, 0xf0f0f0f0, 0xf0f00f0f,
> 0x0f0f0f0f, 0xf0f00f0f, 0x0f0ff0f0, 0x0f0f0f0f, 0xf0f0f0f0,
> 0x0f0ff0f0, 0xf0f00f0f, 0xf0f00f0f, 0xf0f0f0f0, 0x0f0ff0f0, 0xf0f0f0f0,
> 0xf0f00f0f, 0xf0f0f0f0, 0x0f0f0f0f, 0x0f0ff0f0, 0xf0f00f0f,
> @@ -121,8 +120,7 @@ static unsigned int NoDbiPrbs7[] =
> };
>
> // 4096 bytes, 256 byte aligned
> -static unsigned int DbiPrbs7[] =
> -{
> +static unsigned int DbiPrbs7[] = {
> 0xffffffff, 0xffffffff, 0xffffffff, 0x0000ffff, 0xffffffff,
> 0xffffffff, 0x00000000, 0xffffffff, 0xffffffff, 0x0000ffff, 0x0000ffff,
> 0xffffffff, 0x00000000, 0x00000000, 0xffffffff, 0x0000ffff,
> 0xffffffff, 0x0000ffff, 0x00000000, 0xffffffff, 0x00000000,
> 0x0000ffff, 0x0000ffff, 0x0000ffff, 0xffff0000, 0x00000000, 0x00000000,
> 0xffff0000, 0xffffffff, 0xffffffff, 0x00000000, 0x0000ffff,
> 0xffffffff, 0x0000ffff, 0xffff0000, 0xffffffff, 0x00000000,
> 0xffff0000, 0x0000ffff, 0x0000ffff, 0x00000000, 0xffff0000, 0x00000000,
> 0x0000ffff, 0x00000000, 0xffffffff, 0xffff0000, 0x0000ffff,
More information about the dri-devel
mailing list