2021-08-17 14:37:58

by Colin King

[permalink] [raw]
Subject: [PATCH][next] drm/amd/pm: Fix spelling mistake "firwmare" -> "firmware"

From: Colin Ian King <[email protected]>

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

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
index 5d2605df32e8..a0e50f23b1dd 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
@@ -311,7 +311,7 @@ static int smu_v13_0_get_pptable_from_firmware(struct smu_context *smu, void **t
version_major = le16_to_cpu(hdr->header.header_version_major);
version_minor = le16_to_cpu(hdr->header.header_version_minor);
if (version_major != 2) {
- dev_err(adev->dev, "Unsupported smu firwmare version %d.%d\n",
+ dev_err(adev->dev, "Unsupported smu firmware version %d.%d\n",
version_major, version_minor);
return -EINVAL;
}
--
2.32.0


2021-08-17 19:06:19

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH][next] drm/amd/pm: Fix spelling mistake "firwmare" -> "firmware"

Applied. Thanks!

Alex

On Tue, Aug 17, 2021 at 10:35 AM Colin King <[email protected]> wrote:
>
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_err error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
> index 5d2605df32e8..a0e50f23b1dd 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
> @@ -311,7 +311,7 @@ static int smu_v13_0_get_pptable_from_firmware(struct smu_context *smu, void **t
> version_major = le16_to_cpu(hdr->header.header_version_major);
> version_minor = le16_to_cpu(hdr->header.header_version_minor);
> if (version_major != 2) {
> - dev_err(adev->dev, "Unsupported smu firwmare version %d.%d\n",
> + dev_err(adev->dev, "Unsupported smu firmware version %d.%d\n",
> version_major, version_minor);
> return -EINVAL;
> }
> --
> 2.32.0
>