diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-05-18 02:22:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 14:38:29 +0000 |
| commit | e03f04b84901644c81b4348a813a8d17facbd277 (patch) | |
| tree | 2b26ac684c8cad8f273ed1bf4d9f7df18e3dd262 /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | |
| parent | drm/amd/amdgpu: Fix errors & warnings in amdgpu _uvd, _vce.c (diff) | |
| download | kernel-e03f04b84901644c81b4348a813a8d17facbd277.tar.gz kernel-e03f04b84901644c81b4348a813a8d17facbd277.zip | |
drm/amdgpu: Fix warnings in amdgpu _sdma, _ucode.c
Fix below checkpatch warnings:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
WARNING: Comparisons should place the constant on the right side of the test
WARNING: Missing a blank line after declarations
Cc: Luben Tuikov <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c index 231ca06bc9c7..9568adaad5cb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c @@ -64,7 +64,7 @@ int amdgpu_sdma_get_index_from_ring(struct amdgpu_ring *ring, uint32_t *index) } uint64_t amdgpu_sdma_get_csa_mc_addr(struct amdgpu_ring *ring, - unsigned vmid) + unsigned int vmid) { struct amdgpu_device *adev = ring->adev; uint64_t csa_mc_addr; |
