2023-01-05 10:32:09

by Colin Ian King

[permalink] [raw]
Subject: [PATCH 1/2][next] nvmem: layouts: Fix spelling mistake "platforn" -> "platform"

There is a spelling mistake in the literal string. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/nvmem/layouts/onie-tlv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvmem/layouts/onie-tlv.c b/drivers/nvmem/layouts/onie-tlv.c
index 074c7c700845..767f39fff717 100644
--- a/drivers/nvmem/layouts/onie-tlv.c
+++ b/drivers/nvmem/layouts/onie-tlv.c
@@ -48,7 +48,7 @@ static const char *onie_tlv_cell_name(u8 type)
case 0x27:
return "label-revision";
case 0x28:
- return "platforn-name";
+ return "platform-name";
case 0x29:
return "onie-version";
case 0x2A:
--
2.30.2


2023-01-05 10:36:27

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH 1/2][next] nvmem: layouts: Fix spelling mistake "platforn" -> "platform"

Hi Colin,

[email protected] wrote on Thu, 5 Jan 2023 09:58:27 +0000:

> There is a spelling mistake in the literal string. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Good catch.

Reviewed-by: Miquel Raynal <[email protected]>

> ---
> drivers/nvmem/layouts/onie-tlv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/nvmem/layouts/onie-tlv.c b/drivers/nvmem/layouts/onie-tlv.c
> index 074c7c700845..767f39fff717 100644
> --- a/drivers/nvmem/layouts/onie-tlv.c
> +++ b/drivers/nvmem/layouts/onie-tlv.c
> @@ -48,7 +48,7 @@ static const char *onie_tlv_cell_name(u8 type)
> case 0x27:
> return "label-revision";
> case 0x28:
> - return "platforn-name";
> + return "platform-name";
> case 0x29:
> return "onie-version";
> case 0x2A:


Thanks,
Miquèl

2023-01-05 18:23:56

by Srinivas Kandagatla

[permalink] [raw]
Subject: Re: [PATCH 1/2][next] nvmem: layouts: Fix spelling mistake "platforn" -> "platform"



On 05/01/2023 09:58, Colin Ian King wrote:
> There is a spelling mistake in the literal string. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---

Applied thanks,

--srini
> drivers/nvmem/layouts/onie-tlv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/nvmem/layouts/onie-tlv.c b/drivers/nvmem/layouts/onie-tlv.c
> index 074c7c700845..767f39fff717 100644
> --- a/drivers/nvmem/layouts/onie-tlv.c
> +++ b/drivers/nvmem/layouts/onie-tlv.c
> @@ -48,7 +48,7 @@ static const char *onie_tlv_cell_name(u8 type)
> case 0x27:
> return "label-revision";
> case 0x28:
> - return "platforn-name";
> + return "platform-name";
> case 0x29:
> return "onie-version";
> case 0x2A: