drm/amdgpu: Clean up errors in mxgpu_vi.c
authorRan Sun <sunran001@208suo.com>
Wed, 2 Aug 2023 07:35:42 +0000 (07:35 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 13:43:51 +0000 (09:43 -0400)
Fix the following errors reported by checkpatch:

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

Signed-off-by: Ran Sun <sunran001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c

index 288c414babdfa740b598ab49142666b2586beca1..59f53c7433620e5a3cc17898fac4879e2c3548c7 100644 (file)
@@ -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);
        }