[PATCH] drm/amdgpu/swsmu: fix spelling mistake "minimun" -> "minimum"

Alex Deucher alexdeucher at gmail.com
Mon Aug 30 16:06:59 UTC 2021


Applied.  Thanks!

Alex

On Fri, Aug 27, 2021 at 2:59 PM Colin King <colin.king at canonical.com> wrote:
>
> From: Colin Ian King <colin.king at canonical.com>
>
> There are three identical spelling mistakes in dev_err messages.
> Fix these.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c     | 2 +-
>  drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c      | 2 +-
>  drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
> index ad52f7ecfb87..629bb8e926fb 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
> @@ -1869,7 +1869,7 @@ static int vangogh_od_edit_dpm_table(struct smu_context *smu, enum PP_OD_DPM_TAB
>                 } else {
>                         if (smu->gfx_actual_hard_min_freq > smu->gfx_actual_soft_max_freq) {
>                                 dev_err(smu->adev->dev,
> -                                       "The setting minimun sclk (%d) MHz is greater than the setting maximum sclk (%d) MHz\n",
> +                                       "The setting minimum sclk (%d) MHz is greater than the setting maximum sclk (%d) MHz\n",
>                                         smu->gfx_actual_hard_min_freq,
>                                         smu->gfx_actual_soft_max_freq);
>                                 return -EINVAL;
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
> index b39138041141..5aa175e12a78 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
> @@ -426,7 +426,7 @@ static int renoir_od_edit_dpm_table(struct smu_context *smu,
>                 } else {
>                         if (smu->gfx_actual_hard_min_freq > smu->gfx_actual_soft_max_freq) {
>                                 dev_err(smu->adev->dev,
> -                                       "The setting minimun sclk (%d) MHz is greater than the setting maximum sclk (%d) MHz\n",
> +                                       "The setting minimum sclk (%d) MHz is greater than the setting maximum sclk (%d) MHz\n",
>                                         smu->gfx_actual_hard_min_freq,
>                                         smu->gfx_actual_soft_max_freq);
>                                 return -EINVAL;
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c
> index 0f17c2522c85..627ba2eec7fd 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c
> @@ -731,7 +731,7 @@ static int yellow_carp_od_edit_dpm_table(struct smu_context *smu, enum PP_OD_DPM
>                 } else {
>                         if (smu->gfx_actual_hard_min_freq > smu->gfx_actual_soft_max_freq) {
>                                 dev_err(smu->adev->dev,
> -                                       "The setting minimun sclk (%d) MHz is greater than the setting maximum sclk (%d) MHz\n",
> +                                       "The setting minimum sclk (%d) MHz is greater than the setting maximum sclk (%d) MHz\n",
>                                         smu->gfx_actual_hard_min_freq,
>                                         smu->gfx_actual_soft_max_freq);
>                                 return -EINVAL;
> --
> 2.32.0
>


More information about the amd-gfx mailing list