drm/amd/pm: that open brace { should be on the previous line
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 drm/amd/pm: that open brace { should be on the previous line
ERROR: that open brace { should be on the previous line
--- drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h +1 -2
@@ -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,
Alex Deucher
AppliedApplied. Thanks!
Quoted 45 lines · On Mon, Jul 24, 2023 at 4:42 AM <[email protected]> wrote:
ERROR: that open brace { should be on the previous line
Signed-off-by Ran Sun <[email protected]>--- drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h +1
-2@@ -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,drivers/gpu/drm/amd/pm/swsmu/inc/smu_11_0_cdr_table.h +1
-2@@ -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,