[<prev] [next>] [day] [month] [year] [list]
Message-ID: <537f6117.61f.18a21942a78.Coremail.chenxuebing@jari.cn>
Date: Wed, 23 Aug 2023 16:47:52 +0800 (GMT+08:00)
From: "XueBing Chen" <chenxuebing@...i.cn>
To: alexander.deucher@....com, airlied@...il.com, daniel@...ll.ch
Cc: amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] drm/amdgpu/sdma: Clean up errors in cik_sdma.c
Fix the following errors reported by checkpatch:
ERROR: that open brace { should be on the previous line
ERROR: trailing statements should be on next line
Signed-off-by: XueBing Chen <chenxuebing@...i.cn>
---
drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
index 52598fbc9b39..1c71cda83ba5 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
+++ b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c
@@ -128,7 +128,8 @@ static int cik_sdma_init_microcode(struct amdgpu_device *adev)
case CHIP_MULLINS:
chip_name = "mullins";
break;
- default: BUG();
+ default:
+ BUG();
}
for (i = 0; i < adev->sdma.num_instances; i++) {
@@ -1375,8 +1376,7 @@ static void cik_sdma_set_vm_pte_funcs(struct amdgpu_device *adev)
adev->vm_manager.vm_pte_num_scheds = adev->sdma.num_instances;
}
-const struct amdgpu_ip_block_version cik_sdma_ip_block =
-{
+const struct amdgpu_ip_block_version cik_sdma_ip_block = {
.type = AMD_IP_BLOCK_TYPE_SDMA,
.major = 2,
.minor = 0,
--
2.17.1
Powered by blists - more mailing lists