[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_Md7yW+QXhoLVT-HUvjap7YPYe4xp6gRAuBpt-9+EHVzw@mail.gmail.com>
Date: Mon, 27 Jan 2020 15:15:20 -0500
From: Alex Deucher <alexdeucher@...il.com>
To: Colin King <colin.king@...onical.com>
Cc: Evan Quan <evan.quan@....com>,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
David Zhou <David1.Zhou@....com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
amd-gfx list <amd-gfx@...ts.freedesktop.org>,
Maling list - DRI developers
<dri-devel@...ts.freedesktop.org>, kernel-janitors@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/amd/powerplay: fix spelling mistake "Attemp" -> "Attempt"
Applied. Thanks!
Alex
On Sat, Jan 25, 2020 at 3:26 PM Colin King <colin.king@...onical.com> wrote:
>
> From: Colin Ian King <colin.king@...onical.com>
>
> There are several spelling mistakes in PP_ASSERT_WITH_CODE messages.
> Fix these.
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c | 12 ++++++------
> drivers/gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c | 12 ++++++------
> 2 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
> index a3915bfcce81..275dbf65f1a0 100644
> --- a/drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
> @@ -128,20 +128,20 @@ int vega12_enable_smc_features(struct pp_hwmgr *hwmgr,
> if (enable) {
> PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc_with_parameter(hwmgr,
> PPSMC_MSG_EnableSmuFeaturesLow, smu_features_low) == 0,
> - "[EnableDisableSMCFeatures] Attemp to enable SMU features Low failed!",
> + "[EnableDisableSMCFeatures] Attempt to enable SMU features Low failed!",
> return -EINVAL);
> PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc_with_parameter(hwmgr,
> PPSMC_MSG_EnableSmuFeaturesHigh, smu_features_high) == 0,
> - "[EnableDisableSMCFeatures] Attemp to enable SMU features High failed!",
> + "[EnableDisableSMCFeatures] Attempt to enable SMU features High failed!",
> return -EINVAL);
> } else {
> PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc_with_parameter(hwmgr,
> PPSMC_MSG_DisableSmuFeaturesLow, smu_features_low) == 0,
> - "[EnableDisableSMCFeatures] Attemp to disable SMU features Low failed!",
> + "[EnableDisableSMCFeatures] Attempt to disable SMU features Low failed!",
> return -EINVAL);
> PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc_with_parameter(hwmgr,
> PPSMC_MSG_DisableSmuFeaturesHigh, smu_features_high) == 0,
> - "[EnableDisableSMCFeatures] Attemp to disable SMU features High failed!",
> + "[EnableDisableSMCFeatures] Attempt to disable SMU features High failed!",
> return -EINVAL);
> }
>
> @@ -158,13 +158,13 @@ int vega12_get_enabled_smc_features(struct pp_hwmgr *hwmgr,
>
> PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc(hwmgr,
> PPSMC_MSG_GetEnabledSmuFeaturesLow) == 0,
> - "[GetEnabledSMCFeatures] Attemp to get SMU features Low failed!",
> + "[GetEnabledSMCFeatures] Attempt to get SMU features Low failed!",
> return -EINVAL);
> smc_features_low = smu9_get_argument(hwmgr);
>
> PP_ASSERT_WITH_CODE(smu9_send_msg_to_smc(hwmgr,
> PPSMC_MSG_GetEnabledSmuFeaturesHigh) == 0,
> - "[GetEnabledSMCFeatures] Attemp to get SMU features High failed!",
> + "[GetEnabledSMCFeatures] Attempt to get SMU features High failed!",
> return -EINVAL);
> smc_features_high = smu9_get_argument(hwmgr);
>
> diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c
> index 0db57fb83d30..49e5ef3e3876 100644
> --- a/drivers/gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c
> +++ b/drivers/gpu/drm/amd/powerplay/smumgr/vega20_smumgr.c
> @@ -316,20 +316,20 @@ int vega20_enable_smc_features(struct pp_hwmgr *hwmgr,
> if (enable) {
> PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc_with_parameter(hwmgr,
> PPSMC_MSG_EnableSmuFeaturesLow, smu_features_low)) == 0,
> - "[EnableDisableSMCFeatures] Attemp to enable SMU features Low failed!",
> + "[EnableDisableSMCFeatures] Attempt to enable SMU features Low failed!",
> return ret);
> PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc_with_parameter(hwmgr,
> PPSMC_MSG_EnableSmuFeaturesHigh, smu_features_high)) == 0,
> - "[EnableDisableSMCFeatures] Attemp to enable SMU features High failed!",
> + "[EnableDisableSMCFeatures] Attempt to enable SMU features High failed!",
> return ret);
> } else {
> PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc_with_parameter(hwmgr,
> PPSMC_MSG_DisableSmuFeaturesLow, smu_features_low)) == 0,
> - "[EnableDisableSMCFeatures] Attemp to disable SMU features Low failed!",
> + "[EnableDisableSMCFeatures] Attempt to disable SMU features Low failed!",
> return ret);
> PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc_with_parameter(hwmgr,
> PPSMC_MSG_DisableSmuFeaturesHigh, smu_features_high)) == 0,
> - "[EnableDisableSMCFeatures] Attemp to disable SMU features High failed!",
> + "[EnableDisableSMCFeatures] Attempt to disable SMU features High failed!",
> return ret);
> }
>
> @@ -347,12 +347,12 @@ int vega20_get_enabled_smc_features(struct pp_hwmgr *hwmgr,
>
> PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc(hwmgr,
> PPSMC_MSG_GetEnabledSmuFeaturesLow)) == 0,
> - "[GetEnabledSMCFeatures] Attemp to get SMU features Low failed!",
> + "[GetEnabledSMCFeatures] Attempt to get SMU features Low failed!",
> return ret);
> smc_features_low = vega20_get_argument(hwmgr);
> PP_ASSERT_WITH_CODE((ret = vega20_send_msg_to_smc(hwmgr,
> PPSMC_MSG_GetEnabledSmuFeaturesHigh)) == 0,
> - "[GetEnabledSMCFeatures] Attemp to get SMU features High failed!",
> + "[GetEnabledSMCFeatures] Attempt to get SMU features High failed!",
> return ret);
> smc_features_high = vega20_get_argument(hwmgr);
>
> --
> 2.24.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
Powered by blists - more mailing lists