OSDN Git Service

drm/amdgpu: Fix error & warnings in gmc_v8_0.c
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Fri, 30 Jun 2023 15:27:35 +0000 (20:57 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Jul 2023 21:29:11 +0000 (17:29 -0400)
commit2f77b5931f68b1d1c290fff9d785fe15f1fa2a47
treec04a0a1137af15984ea82b01841ab288186f5260
parent57a95e1bd7644b18e31458059256c18b96535f09
drm/amdgpu: Fix error & warnings in gmc_v8_0.c

Fix below checkpatch error & warnings:

ERROR: trailing statements should be on next line
+       default: BUG();

WARNING: braces {} are not necessary for single statement blocks
WARNING: braces {} are not necessary for any arm of this statement
WARNING: Block comments should align the * on each line

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