2021-03-12 10:10:31

by Colin King

[permalink] [raw]
Subject: [PATCH][next] drm/amd/pm: Fix spelling mistake "disble" -> "disable"

From: Colin Ian King <[email protected]>

There is a spelling mistake in an assert message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
index 0d725b66fb78..7edafef095a3 100644
--- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
+++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
@@ -1300,7 +1300,7 @@ static int smu7_start_dpm(struct pp_hwmgr *hwmgr)
(0 == smum_send_msg_to_smc(hwmgr,
PPSMC_MSG_PCIeDPM_Disable,
NULL)),
- "Failed to disble pcie DPM during DPM Start Function!",
+ "Failed to disable pcie DPM during DPM Start Function!",
return -EINVAL);
}

--
2.30.2


2021-03-15 23:19:54

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH][next] drm/amd/pm: Fix spelling mistake "disble" -> "disable"

Applied. Thanks!

Alex

On Fri, Mar 12, 2021 at 5:08 AM Colin King <[email protected]> wrote:
>
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in an assert message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
> index 0d725b66fb78..7edafef095a3 100644
> --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
> +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c
> @@ -1300,7 +1300,7 @@ static int smu7_start_dpm(struct pp_hwmgr *hwmgr)
> (0 == smum_send_msg_to_smc(hwmgr,
> PPSMC_MSG_PCIeDPM_Disable,
> NULL)),
> - "Failed to disble pcie DPM during DPM Start Function!",
> + "Failed to disable pcie DPM during DPM Start Function!",
> return -EINVAL);
> }
>
> --
> 2.30.2
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel