Skip to contentSkip to conversation

nvmem: layouts: Fix spelling mistake "platforn" -> "platform"

PATCH In review Colin Ian King 3 participants 6 messages Jan 5, 2023

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

PATCH 1/2 nvmem: layouts: Fix spelling mistake "platforn" -> "platform"

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

---
 drivers/nvmem/layouts/onie-tlv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvmem/layouts/onie-tlv.c +1 -1
index 074c7c700845..767f39fff717 100644
@@ -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:
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/2 dt-bindings: nvmem: Fix spelling mistake "platforn" -> "platform"

There is a spelling mistake in platforn-name. Fix it.

---
 .../devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml +1 -1
index 5a0e7671aa3f..714a6538cc7c 100644
@@ -61,7 +61,7 @@ properties:
     type: object
     additionalProperties: false
 
-  platforn-name:
+  platform-name:
     type: object
     additionalProperties: false
 
Signature · 1 line
2.30.2
maintainer Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2][next] dt-bindings: nvmem: Fix spelling mistake "platforn" -> "platform"

Hi Colin,

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

Quoted 1 line

There is a spelling mistake in platforn-name. Fix it.

Quoted 11 lines
---
 .../devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml +0 -0
index 5a0e7671aa3f..714a6538cc7c 100644

Documentation/devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml properties: · line 67

Quoted 8 lines
Documentation/devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml +1 -1
@@ -61,7 +61,7 @@ properties:
     type: object
     additionalProperties: false
 
-  platforn-name:
+  platform-name:
     type: object
     additionalProperties: false
 

Thanks,
Miquèl

#3 lore raw

Re: [PATCH 2/2][next] dt-bindings: nvmem: Fix spelling mistake "platforn" -> "platform"

In reply to Colin Ian King
Quoted 4 lines · Colin Ian King

There is a spelling mistake in platforn-name. Fix it.

---

Applied thanks,

--srini

Quoted 16 lines
  .../devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml      | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/nvmem/layouts/onie,tlv-layout.yaml +1 -1
index 5a0e7671aa3f..714a6538cc7c 100644
@@ -61,7 +61,7 @@ properties:
      type: object
      additionalProperties: false
 
-  platforn-name:
+  platform-name:
      type: object
      additionalProperties: false
 
maintainer Reviewed-by on v1 1/2
#4 lore raw
In reply to Colin Ian King

Hi Colin,

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

Quoted 3 lines

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

Good catch.

Quoted 9 lines
---
 drivers/nvmem/layouts/onie-tlv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvmem/layouts/onie-tlv.c +0 -0
index 074c7c700845..767f39fff717 100644

drivers/nvmem/layouts/onie-tlv.c static const char *onie_tlv_cell_name(u8 type) · line 54

Quoted 8 lines
drivers/nvmem/layouts/onie-tlv.c +1 -1
@@ -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

#5 lore raw
In reply to Colin Ian King
Quoted 4 lines · Colin Ian King

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

---

Applied thanks,

--srini

Quoted 16 lines
  drivers/nvmem/layouts/onie-tlv.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvmem/layouts/onie-tlv.c +1 -1
index 074c7c700845..767f39fff717 100644
@@ -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: