2023-12-14 01:02:20

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] drm/amd/pm: Remove unneeded semicolon

./drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:1418:2-3: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7743
Signed-off-by: Yang Li <[email protected]>
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
index d409857fd622..c16703868e5c 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
@@ -1415,7 +1415,7 @@ static int smu_wbrf_event_handler(struct notifier_block *nb,
break;
default:
return NOTIFY_DONE;
- };
+ }

return NOTIFY_OK;
}
--
2.20.1.7.g153144c


2023-12-14 15:27:21

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH -next] drm/amd/pm: Remove unneeded semicolon

Applied. Thanks!

On Wed, Dec 13, 2023 at 8:02 PM Yang Li <[email protected]> wrote:
>
> ./drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:1418:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7743
> Signed-off-by: Yang Li <[email protected]>
> ---
> drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> index d409857fd622..c16703868e5c 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> @@ -1415,7 +1415,7 @@ static int smu_wbrf_event_handler(struct notifier_block *nb,
> break;
> default:
> return NOTIFY_DONE;
> - };
> + }
>
> return NOTIFY_OK;
> }
> --
> 2.20.1.7.g153144c
>