Skip to contentSkip to conversation

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

PATCH In review [email protected] 2 participants 2 messages Jul 24, 2023 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

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

---
 drivers/gpu/drm/radeon/ni_dpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/ni_dpm.c +0 -0
index a101ba00ea30..1cf4de4cda23 100644
@@ -625,7 +625,7 @@ static const u32 cayman_mgcg_disable[] =
 };
 #define CAYMAN_MGCG_DISABLE_LENGTH   sizeof(cayman_mgcg_disable) / (3 * 

sizeof(u32))

-static const u32 cayman_mgcg_enable[] = :621 {
+static const u32 cayman_mgcg_enable[] = : 621 {
0x0000802c, 0xc0000000, 0xffffffff,
0x000008f8, 0x00000000, 0xffffffff,
0x000008fc, 0x00000000, 0xffffffff,

#2 lore raw
Quoted 14 lines · On Sun, Jul 23, 2023 at 11:12 PM <[email protected]> wrote:

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

---
  drivers/gpu/drm/radeon/ni_dpm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/ni_dpm.c +0 -0
index a101ba00ea30..1cf4de4cda23 100644

drivers/gpu/drm/radeon/ni_dpm.c static const u32 cayman_mgcg_disable[] = · line 629

Quoted 6 lines
drivers/gpu/drm/radeon/ni_dpm.c +1 -1
@@ -625,7 +625,7 @@ static const u32 cayman_mgcg_disable[] =
  };
  #define CAYMAN_MGCG_DISABLE_LENGTH   sizeof(cayman_mgcg_disable) / (3 *
 sizeof(u32))
 
-static const u32 cayman_mgcg_enable[] = :621 {
+static const u32 cayman_mgcg_enable[] = : 621 {

Something weird here.

Alex

Quoted 3 lines
drivers/gpu/drm/radeon/ni_dpm.c +0 -0
        0x0000802c, 0xc0000000, 0xffffffff,
        0x000008f8, 0x00000000, 0xffffffff,
        0x000008fc, 0x00000000, 0xffffffff,