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
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
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: