[PATCH][drm-next] drm/amd/powerplay: fix a few spelling mistakes

Wang, Kevin(Yang) Kevin1.Wang at amd.com
Fri Aug 2 01:44:19 UTC 2019



________________________________
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> on behalf of Colin King <colin.king at canonical.com>
Sent: Thursday, August 1, 2019 4:39 PM
To: Rex Zhu <rex.zhu at amd.com>; Quan, Evan <Evan.Quan at amd.com>; Deucher, Alexander <Alexander.Deucher at amd.com>; Koenig, Christian <Christian.Koenig at amd.com>; Zhou, David(ChunMing) <David1.Zhou at amd.com>; David Airlie <airlied at linux.ie>; Daniel Vetter <daniel at ffwll.ch>; amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>; dri-devel at lists.freedesktop.org <dri-devel at lists.freedesktop.org>
Cc: kernel-janitors at vger.kernel.org <kernel-janitors at vger.kernel.org>; linux-kernel at vger.kernel.org <linux-kernel at vger.kernel.org>
Subject: [PATCH][drm-next] drm/amd/powerplay: fix a few spelling mistakes

From: Colin Ian King <colin.king at canonical.com>

There are a few spelling mistakes "unknow" -> "unknown" and
"enabeld" -> "enabled". Fix these.

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index 13b2c8a60232..d029a99e600e 100644
--- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@ -39,7 +39,7 @@ static const char* __smu_message_names[] = {
 const char *smu_get_message_name(struct smu_context *smu, enum smu_message_type type)
 {
         if (type < 0 || type > SMU_MSG_MAX_COUNT)
-               return "unknow smu message";
+               return "unknown smu message";
         return __smu_message_names[type];
 }

@@ -52,7 +52,7 @@ static const char* __smu_feature_names[] = {
 const char *smu_get_feature_name(struct smu_context *smu, enum smu_feature_mask feature)
 {
         if (feature < 0 || feature > SMU_FEATURE_COUNT)
-               return "unknow smu feature";
+               return "unknown smu feature";
         return __smu_feature_names[feature];
 }

@@ -79,7 +79,7 @@ size_t smu_sys_get_pp_feature_mask(struct smu_context *smu, char *buf)
                                count++,
                                smu_get_feature_name(smu, i),
                                feature_index,
-                              !!smu_feature_is_enabled(smu, i) ? "enabeld" : "disabled");
+                              !!smu_feature_is_enabled(smu, i) ? "enabled" : "disabled");
         }

[kevin]:
thanks correct it.
Reviewed-by: Kevin Wang <kevin1.wang at amd.com>

BR
Kevin

 failed:
--
2.20.1

_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190802/573165ec/attachment-0001.html>


More information about the dri-devel mailing list