Skip to contentSkip to conversation

drm/amdgpu/vcn: remove Unneeded semicolon

PATCH 白浩文 1 participant 1 message Apr 1, 2022

lore
Share & tools
lore

白浩文

author
#0 lore raw

dear Alex Deucher

I just mean where unneeded semicolon comes from when I add fixes info. As your remind, I have got it, thank you.

-------- 原始邮件 --------
发件人:Alex Deucher <[email protected]>
时间:2022年4月1日 21:26
收件人:Paul Menzel <[email protected]>
抄送:白浩文 <[email protected]>,David Airlie <[email protected]>,"Pan, Xinhui" <[email protected]>,LKML <[email protected]>,Maling list - DRI developers <[email protected]>,amd-gfx list <[email protected]>,Daniel Vetter <[email protected]>,Alex Deucher <[email protected]>,Christian König <[email protected]> 主题:Re: [PATCH] drm/amdgpu/vcn: remove Unneeded semicolon

Quoted 15 lines · Paul Menzel

Dear Haowen,

Thank you for your patch.

Am 31.03.22 um 07:56 schrieb Haowen Bai:

In the commit message summary, please use:

Remove unneeded semicolon

Quoted 3 lines

report by coccicheck:
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c:1951:2-3: Unneeded semicolon

Quoted 8 lines
Quoted 1 line

fixed c543dcb ("drm/amdgpu/vcn: Add VCN ras error query support")

Please use

Fixes …

and a commit hash length of 12 characters. (scripts/checkpatch.pl … should tell you about this.)

I don't know that you need to add a fixes tag unless the patch is an actual bug fix. Coding style or spelling fixes are not really critical for getting into stable trees.

Alex

Quoted 25 lines

Kind regards,

Paul

Quoted 18 lines
---
  drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c +1 -1
index 3e1de8c..17d44be 100644
@@ -1948,7 +1948,7 @@ static uint32_t vcn_v2_6_query_poison_by_instance(struct amdgpu_device *adev,
              break;
      default:
              break;
-     };
+     }
 
      if (poison_stat)
              dev_info(adev->dev, "Poison detected in VCN%d, sub_block%d\n",