From: chenxuebing Date: Thu, 11 Jan 2024 02:10:02 +0000 (+0000) Subject: drm/amdgpu: Clean up errors in amdgpu_rlc.c X-Git-Tag: v6.9-rc1~126^2~22^2~255 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73888bad4d1f89a8a137f74835c9a0a47c0e133c;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: Clean up errors in amdgpu_rlc.c Fix the following errors reported by checkpatch: ERROR: space prohibited before that '++' (ctx:WxB) Signed-off-by: chenxuebing Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c index 2c3675d91614f..db5791e1a7cef 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c @@ -241,7 +241,7 @@ void amdgpu_gfx_rlc_setup_cp_table(struct amdgpu_device *adev) table_size = le32_to_cpu(hdr->jt_size); } - for (i = 0; i < table_size; i ++) { + for (i = 0; i < table_size; i++) { dst_ptr[bo_offset + i] = cpu_to_le32(le32_to_cpu(fw_data[table_offset + i])); }