Skip to contentSkip to conversation

drm/radeon: ERROR: "(foo*)" should be "(foo *)"

PATCH In review [email protected] 2 participants 2 messages Jul 14, 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: ERROR: "(foo*)" should be "(foo *)"

Fix one occurrence of the checkpatch.pl error:
ERROR: "(foo*)" should be "(foo *)"

---
 drivers/gpu/drm/radeon/uvd_v1_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/uvd_v1_0.c +1 -1
index 58557c2263a7..5684639d20a6 100644
@@ -142,7 +142,7 @@ int uvd_v1_0_resume(struct radeon_device *rdev)
     addr = (rdev->uvd.gpu_addr >> 32) & 0xFF;
     WREG32(UVD_LMI_EXT40_ADDR, addr | (0x9 << 16) | (0x1 << 31));
 
-    WREG32(UVD_FW_START, *((uint32_t*)rdev->uvd.cpu_addr));
+    WREG32(UVD_FW_START, *((uint32_t *)rdev->uvd.cpu_addr));
 
     return 0;
 }
maintainer
#2 lore raw

Am 14.07.23 um 07:35 schrieb [email protected]:

Quoted 2 lines

Fix one occurrence of the checkpatch.pl error:
ERROR: "(foo*)" should be "(foo *)"

It's nice to see all those little typos fixed, but I'm not sure how feasible it is to send patches for each type individually.

Maybe just merge them together into one patch for the whole radeon code base.

Additional to that I'm pretty sure that most of that stuff is already fixed, so what base do you use for this?

Regards,
Christian.

Quoted 19 lines

---
 drivers/gpu/drm/radeon/uvd_v1_0.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/uvd_v1_0.c +1 -1
index 58557c2263a7..5684639d20a6 100644
@@ -142,7 +142,7 @@ int uvd_v1_0_resume(struct radeon_device *rdev)
      addr = (rdev->uvd.gpu_addr >> 32) & 0xFF;
      WREG32(UVD_LMI_EXT40_ADDR, addr | (0x9 << 16) | (0x1 << 31));
 
-    WREG32(UVD_FW_START, *((uint32_t*)rdev->uvd.cpu_addr));
+    WREG32(UVD_FW_START, *((uint32_t *)rdev->uvd.cpu_addr));
 
      return 0;
  }