Skip to contentSkip to conversation

drm/amdgpu: Clean up errors in uvd_v3_1.c

PATCH Applied Ran Sun 2 participants 2 messages Aug 2, 2023 – Aug 7, 2023

Subsystems (2)
lore
Share & tools
lore

Ran Sun

author
#0 lore raw

PATCH 1/1 drm/amdgpu: Clean up errors in uvd_v3_1.c

Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line

---
 drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c +1 -2
index 0fef925b6602..5534c769b655 100644
@@ -815,8 +815,7 @@ static const struct amd_ip_funcs uvd_v3_1_ip_funcs = {
 	.set_powergating_state = uvd_v3_1_set_powergating_state,
 };
 
-const struct amdgpu_ip_block_version uvd_v3_1_ip_block =
-{
+const struct amdgpu_ip_block_version uvd_v3_1_ip_block = {
 	.type = AMD_IP_BLOCK_TYPE_UVD,
 	.major = 3,
 	.minor = 1,
Signature · 1 line
2.17.1
Applied
#1 lore raw

Applied. Thanks!

Quoted 27 lines · Ran Sun

Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line

---
 drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c +1 -3
index 0fef925b6602..5534c769b655 100644
@@ -815,8 +815,7 @@ static const struct amd_ip_funcs uvd_v3_1_ip_funcs = {
        .set_powergating_state = uvd_v3_1_set_powergating_state,
 };
 
-const struct amdgpu_ip_block_version uvd_v3_1_ip_block =
-{
+const struct amdgpu_ip_block_version uvd_v3_1_ip_block = {
        .type = AMD_IP_BLOCK_TYPE_UVD,
        .major = 3,
        .minor = 1,
--

2.17.1