2022-08-13 15:58:29

by min tang

[permalink] [raw]
Subject: [PATCH] drm/amd/display: Unneeded semicolon

There is no semicolon after '}' in line 510.

Signed-off-by: min tang <[email protected]>
---
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
index 27501b735a9c..c87cf8771c6d 100644
--- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
+++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
@@ -505,7 +505,7 @@ static void dcn315_clk_mgr_helper_populate_bw_params(
bw_params->clk_table.entries[i].dispclk_mhz = clock_table->DispClocks[i];
bw_params->clk_table.entries[i].dppclk_mhz = clock_table->DppClocks[i];
bw_params->clk_table.entries[i].wck_ratio = 1;
- };
+ }

/* Make sure to include at least one entry and highest pstate */
if (max_pstate != min_pstate || i == 0) {
--
2.17.1


2022-08-16 00:49:13

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/display: Unneeded semicolon

Applied. Thanks!

On Sat, Aug 13, 2022 at 11:35 AM min tang <[email protected]> wrote:
>
> There is no semicolon after '}' in line 510.
>
> Signed-off-by: min tang <[email protected]>
> ---
> drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
> index 27501b735a9c..c87cf8771c6d 100644
> --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
> +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
> @@ -505,7 +505,7 @@ static void dcn315_clk_mgr_helper_populate_bw_params(
> bw_params->clk_table.entries[i].dispclk_mhz = clock_table->DispClocks[i];
> bw_params->clk_table.entries[i].dppclk_mhz = clock_table->DppClocks[i];
> bw_params->clk_table.entries[i].wck_ratio = 1;
> - };
> + }
>
> /* Make sure to include at least one entry and highest pstate */
> if (max_pstate != min_pstate || i == 0) {
> --
> 2.17.1
>