Skip to contentSkip to conversation

drm/amdgpu: Clean up errors in mxgpu_vi.c

PATCH Applied Ran Sun 2 participants 2 messages Aug 2, 2023 – Aug 7, 2023

Subsystems (2)
lore
Share & tools
lore

Ran Sun

author
#0 lore raw

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

Fix the following errors reported by checkpatch:

ERROR: spaces required around that '-=' (ctx:WxV)

---
 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c +1 -1
index 288c414babdf..59f53c743362 100644
@@ -334,7 +334,7 @@ static void xgpu_vi_mailbox_send_ack(struct amdgpu_device *adev)
 			break;
 		}
 		mdelay(1);
-		timeout -=1;
+		timeout -= 1;
 
 		reg = RREG32_NO_KIQ(mmMAILBOX_CONTROL);
 	}
Signature · 1 line
2.17.1
Applied
#1 lore raw

Applied. Thanks!

Quoted 26 lines · Ran Sun

Fix the following errors reported by checkpatch:

ERROR: spaces required around that '-=' (ctx:WxV)

---
 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c +1 -2
index 288c414babdf..59f53c743362 100644
@@ -334,7 +334,7 @@ static void xgpu_vi_mailbox_send_ack(struct amdgpu_device *adev)
                        break;
                }
                mdelay(1);
-               timeout -=1;
+               timeout -= 1;
 
                reg = RREG32_NO_KIQ(mmMAILBOX_CONTROL);
        }
--

2.17.1