aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2023-06-30 15:27:35 +0000
committerAlex Deucher <[email protected]>2023-07-13 21:29:11 +0000
commit2f77b5931f68b1d1c290fff9d785fe15f1fa2a47 (patch)
treec04a0a1137af15984ea82b01841ab288186f5260 /drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
parentdrm/amd/display: dc.h: eliminate kernel-doc warnings (diff)
downloadkernel-2f77b5931f68b1d1c290fff9d785fe15f1fa2a47.tar.gz
kernel-2f77b5931f68b1d1c290fff9d785fe15f1fa2a47.zip
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 <[email protected]> Cc: Alex Deucher <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
index 061c320bdff1..23bfadca0fc8 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
@@ -251,7 +251,8 @@ static int gmc_v8_0_init_microcode(struct amdgpu_device *adev)
case CHIP_STONEY:
case CHIP_VEGAM:
return 0;
- default: BUG();
+ default:
+ BUG();
}
snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_mc.bin", chip_name);