Skip to contentSkip to conversation

drm/amd/amdgpu: Fix spelling mistake "versoin" -> "version"

PATCH In review Colin Ian King 2 participants 3 messages Nov 13, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/amdgpu: Fix spelling mistake "versoin" -> "version"

There is a spelling mistake in a dev_err message. Fix it.

---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -1
index 9c905b9e9376..feecd099cf86 100644
@@ -646,7 +646,7 @@ static int mes_v11_0_misc_op(struct amdgpu_mes *mes,
 		break;
 	case MES_MISC_OP_CHANGE_CONFIG:
 		if ((mes->adev->mes.sched_version & AMDGPU_MES_VERSION_MASK) < 0x63) {
-			dev_err(mes->adev->dev, "MES FW versoin must be larger than 0x63 to support limit single process feature.\n");
+			dev_err(mes->adev->dev, "MES FW version must be larger than 0x63 to support limit single process feature.\n");
 			return -EINVAL;
 		}
 		misc_pkt.opcode = MESAPI_MISC__CHANGE_CONFIG;
Signature · 1 line
2.39.5
#1 lore raw
Quoted 12 lines · Colin Ian King

There is a spelling mistake in a dev_err message. Fix it.

---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +0 -0
index 9c905b9e9376..feecd099cf86 100644

drivers/gpu/drm/amd/amdgpu/mes_v11_0.c static int mes_v11_0_misc_op(struct amdgpu_mes *mes, · line 649

Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -1
@@ -646,7 +646,7 @@ static int mes_v11_0_misc_op(struct amdgpu_mes *mes,
 		break;
 	case MES_MISC_OP_CHANGE_CONFIG:
 		if ((mes->adev->mes.sched_version & AMDGPU_MES_VERSION_MASK) < 0x63) {
-			dev_err(mes->adev->dev, "MES FW versoin must be larger than 0x63 to support limit single process feature.\n");
+			dev_err(mes->adev->dev, "MES FW version must be larger than 0x63 to support limit single process feature.\n");

What does "to support limit single process feature" mean?

regards,
dan carpenter

#2 lore raw
Quoted 8 lines · Dan Carpenter
Quoted 7 lines · Colin Ian King

There is a spelling mistake in a dev_err message. Fix it.

---
  drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 12 lines

drivers/gpu/drm/amd/amdgpu/mes_v11_0.c static int mes_v11_0_misc_op(struct amdgpu_mes *mes, · line 649

Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +1 -1
index 9c905b9e9376..feecd099cf86 100644
@@ -646,7 +646,7 @@ static int mes_v11_0_misc_op(struct amdgpu_mes *mes,
  		break;
  	case MES_MISC_OP_CHANGE_CONFIG:
  		if ((mes->adev->mes.sched_version & AMDGPU_MES_VERSION_MASK) < 0x63) {
-			dev_err(mes->adev->dev, "MES FW versoin must be larger than 0x63 to support limit single process feature.\n");
+			dev_err(mes->adev->dev, "MES FW version must be larger than 0x63 to support limit single process feature.\n");

What does "to support limit single process feature" mean?

Looks like I need an automated semantic checker as well as a spelling checker.

Colin

Quoted 4 lines

regards,
dan carpenter