Skip to contentSkip to conversation

drm/amdgpu: Clean up errors in mmhub_v1_7.c

PATCH New XueBing Chen 1 participant 1 message Aug 24, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Clean up errors in mmhub_v1_7.c

Fix the following errors reported by checkpatch:

ERROR: space required before the open parenthesis '('

---
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c +1 -1
index 9086f2fdfaf4..cfaeac46fd43 100644
@@ -1213,7 +1213,7 @@ static int mmhub_v1_7_get_ras_error_count(struct amdgpu_device *adev,
 	uint32_t sec_cnt, ded_cnt;
 
 	for (i = 0; i < ARRAY_SIZE(mmhub_v1_7_ras_fields); i++) {
-		if(mmhub_v1_7_ras_fields[i].reg_offset != reg->reg_offset)
+		if (mmhub_v1_7_ras_fields[i].reg_offset != reg->reg_offset)
 			continue;
 
 		sec_cnt = (value &
Signature · 1 line
2.17.1