Skip to content

Commit f291f9b

Browse files
Ran Sunalexdeucher
authored andcommitted
drm/amdgpu: Clean up errors in mmhub_v9_4.c
Fix the following errors reported by checkpatch: ERROR: code indent should use tabs where possible ERROR: space required before the open parenthesis '(' Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 1f45f1c commit f291f9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static void mmhub_v9_4_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmi
108108
}
109109

110110
static void mmhub_v9_4_init_system_aperture_regs(struct amdgpu_device *adev,
111-
int hubid)
111+
int hubid)
112112
{
113113
uint64_t value;
114114
uint32_t tmp;
@@ -1568,7 +1568,7 @@ static int mmhub_v9_4_get_ras_error_count(struct amdgpu_device *adev,
15681568
uint32_t sec_cnt, ded_cnt;
15691569

15701570
for (i = 0; i < ARRAY_SIZE(mmhub_v9_4_ras_fields); i++) {
1571-
if(mmhub_v9_4_ras_fields[i].reg_offset != reg->reg_offset)
1571+
if (mmhub_v9_4_ras_fields[i].reg_offset != reg->reg_offset)
15721572
continue;
15731573

15741574
sec_cnt = (value &

0 commit comments

Comments
 (0)