drm/amd/amdgpu: Fix errors & warnings in amdgpu_ttm.c
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Wed, 17 May 2023 14:40:48 +0000 (20:10 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:38:03 +0000 (10:38 -0400)
commit01c3f464743b64e6e65cb9bad951458986819a42
tree14c5076e965a37738873a7456349c8efd4276a28
parent0ce50b2efe08e56224d11d735310b353e0e4e222
drm/amd/amdgpu: Fix errors & warnings in amdgpu_ttm.c

Fix below checkpatch insisted error & warnings:

ERROR: Macros with complex values should be enclosed in parentheses
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
WARNING: braces {} are not necessary for single statement blocks
WARNING: Block comments use a trailing */ on a separate line
WARNING: Missing a blank line after declarations

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c