OSDN Git Service

drm/amdgpu: Fix warnings in amdgpu _sdma, _ucode.c
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Thu, 18 May 2023 02:22:06 +0000 (07:52 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:38:29 +0000 (10:38 -0400)
commite03f04b84901644c81b4348a813a8d17facbd277
tree2b26ac684c8cad8f273ed1bf4d9f7df18e3dd262
parentf10984a353c87e696872de8f9614a58689deb0d0
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 <luben.tuikov@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c