Re: [PATCH] drm/amd/pp: fix spelling mistake "dependancy" -> "dependency"

From: Alex Deucher
Date: Wed Nov 28 2018 - 15:27:07 EST


On Tue, Nov 27, 2018 at 9:19 AM Colin King <colin.king@xxxxxxxxxxxxx> wrote:
>
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> There are spelling mistakes in PP_ASSERT_WITH_CODE messages, fix these.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied. thanks!

Alex

> ---
> drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
> index 88f6b35ea6fe..5dcd21d29dbf 100644
> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
> @@ -269,7 +269,7 @@ static int smu7_construct_voltage_tables(struct pp_hwmgr *hwmgr)
> hwmgr->dyn_state.mvdd_dependency_on_mclk);
>
> PP_ASSERT_WITH_CODE((0 == result),
> - "Failed to retrieve SVI2 MVDD table from dependancy table.",
> + "Failed to retrieve SVI2 MVDD table from dependency table.",
> return result;);
> }
>
> @@ -288,7 +288,7 @@ static int smu7_construct_voltage_tables(struct pp_hwmgr *hwmgr)
> result = phm_get_svi2_voltage_table_v0(&(data->vddci_voltage_table),
> hwmgr->dyn_state.vddci_dependency_on_mclk);
> PP_ASSERT_WITH_CODE((0 == result),
> - "Failed to retrieve SVI2 VDDCI table from dependancy table.",
> + "Failed to retrieve SVI2 VDDCI table from dependency table.",
> return result);
> }
>
> @@ -317,7 +317,7 @@ static int smu7_construct_voltage_tables(struct pp_hwmgr *hwmgr)
> table_info->vddc_lookup_table);
>
> PP_ASSERT_WITH_CODE((0 == result),
> - "Failed to retrieve SVI2 VDDC table from dependancy table.", return result;);
> + "Failed to retrieve SVI2 VDDC table from dependency table.", return result;);
> }
>
> tmp = smum_get_mac_definition(hwmgr, SMU_MAX_LEVELS_VDDC);
> --
> 2.19.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel