Skip to content

Commit 1b01c01

Browse files
Ran Sunalexdeucher
authored andcommitted
drm/amdgpu: Clean up errors in amdgpu_ring.h
Fix the following errors reported by checkpatch: ERROR: spaces required around that ':' (ctx:VxW) Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 7b7fbab commit 1b01c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ static inline void amdgpu_ring_write_multiple(struct amdgpu_ring *ring,
389389
occupied = ring->wptr & ring->buf_mask;
390390
dst = (void *)&ring->ring[occupied];
391391
chunk1 = ring->buf_mask + 1 - occupied;
392-
chunk1 = (chunk1 >= count_dw) ? count_dw: chunk1;
392+
chunk1 = (chunk1 >= count_dw) ? count_dw : chunk1;
393393
chunk2 = count_dw - chunk1;
394394
chunk1 <<= 2;
395395
chunk2 <<= 2;

0 commit comments

Comments
 (0)