Skip to content

Commit

Permalink
drm/amdgpu: Clean up errors in amdgpu_rlc.c
Browse files Browse the repository at this point in the history
Fix the following errors reported by checkpatch:

ERROR: space prohibited before that '++' (ctx:WxB)

Signed-off-by: chenxuebing <chenxb_99091@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
chenxuebing authored and Alex Deucher committed Jan 15, 2024
1 parent 1ed8ccf commit 73888ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]));
}
Expand Down

0 comments on commit 73888ba

Please sign in to comment.