Skip to contentSkip to conversation

Please assess this patch: [PATCH] Docs: FIxed spelling errors in Documentation/devicetree/bindings/

PATCH Marlon Rac Cambasis 4 participants 4 messages Sep 4, 2020

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

Hello, I would like to make my first contribution to the Linux kernel in the form of a (trivial) spelling fix. Does this patch (including the subject and the way my mail is being displayed), meet the requirements? Furthermore, I think the correct place to send it to would be [email protected] and also CCing it to [email protected]. Is this all okay? Should I send it to somewhere else, do I need to make any changes? Also I don't need to add a body to the patch when I send it do I?

Here is my patch:

---
 Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt  | 2 +-
 Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt | 2 +-
 Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt +1 -1
index 70659c9..372f473 100644
@@ -75,7 +75,7 @@ Required Properties:
   The child node should contain a list of pin(s) on which a particular pin
   function selection or pin configuration (or both) have to applied. This
   list of pins is specified using the property name "samsung,pins". There
-  should be atleast one pin specfied for this property and there is no upper
+  should be atleast one pin specified for this property and there is no upper
   limit on the count of pins that can be specified. The pins are specified
   using pin names which are derived from the hardware manual of the SoC. As
   an example, the pins in GPA0 bank of the pin controller can be represented
Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt +1 -1
index 6e80270..17b7a6a 100644
@@ -9,7 +9,7 @@ Optional property:
 - nuvoton,sw-reset-number - Contains the software reset number to restart the SoC.
   NPCM7xx contain four software reset that represent numbers 1 to 4.
 
-  If 'nuvoton,sw-reset-number' is not specfied software reset is disabled.
+  If 'nuvoton,sw-reset-number' is not specified software reset is disabled.
 
 Example:
 	rstc: rstc@f0801000 {
Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt +1 -1
index d78d4a8f..a819763 100644
@@ -20,7 +20,7 @@ Optional properties:
    This is useful in situations where another watchdog engine on chip is
    to perform the reset.
 
-   If 'aspeed,reset-type=' is not specfied the default is to enable system
+   If 'aspeed,reset-type=' is not specified the default is to enable system
    reset.
 
    Reset types:
Signature · 7 lines
2.9.0


_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
#1 lore raw

How can I ever thank you?

Sent from my iPhone

Quoted 66 lines · Marlon Rac Cambasis

Hello, I would like to make my first contribution to the Linux kernel in the form of a (trivial) spelling fix. Does this patch (including the subject and the way my mail is being displayed), meet the requirements? Furthermore, I think the correct place to send it to would be [email protected] and also CCing it to [email protected]. Is this all okay? Should I send it to somewhere else, do I need to make any changes? Also I don't need to add a body to the patch when I send it do I?

Here is my patch:

---

Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt  | 2 +-
Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt | 2 +-
Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt      | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt +1 -1
index 70659c9..372f473 100644
@@ -75,7 +75,7 @@ Required Properties:
  The child node should contain a list of pin(s) on which a particular pin
  function selection or pin configuration (or both) have to applied. This
  list of pins is specified using the property name "samsung,pins". There
-  should be atleast one pin specfied for this property and there is no upper
+  should be atleast one pin specified for this property and there is no upper
  limit on the count of pins that can be specified. The pins are specified
  using pin names which are derived from the hardware manual of the SoC. As
  an example, the pins in GPA0 bank of the pin controller can be represented
Documentation/devicetree/bindings/reset/nuvoton,npcm-reset.txt +1 -2
index 6e80270..17b7a6a 100644
@@ -9,7 +9,7 @@ Optional property:
- nuvoton,sw-reset-number - Contains the software reset number to restart the SoC.
  NPCM7xx contain four software reset that represent numbers 1 to 4.
 
-  If 'nuvoton,sw-reset-number' is not specfied software reset is disabled.
+  If 'nuvoton,sw-reset-number' is not specified software reset is disabled.
 

Example:

   rstc: rstc@f0801000 {
Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt +1 -1
index d78d4a8f..a819763 100644
@@ -20,7 +20,7 @@ Optional properties:
   This is useful in situations where another watchdog engine on chip is
   to perform the reset.
 
-   If 'aspeed,reset-type=' is not specfied the default is to enable system
+   If 'aspeed,reset-type=' is not specified the default is to enable system
   reset.
 
   Reset types:
Signature · 7 lines
2.9.0


_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#2 lore raw
In reply to Marlon Rac Cambasis
Quoted 7 lines · Marlon Rac Cambasis

Hello, I would like to make my first contribution to the Linux kernel in the form of a (trivial) spelling fix. Does this patch (including the subject and the way my mail is being displayed), meet the requirements? Furthermore, I think the correct place to send it to would be [email protected] and also CCing it to [email protected]. Is this all okay? Should I send it to somewhere else, do I need to make any changes? Also I don't need to add a body to the patch when I send it do I?

You always need a changelog text, I know I will refuse to take a patch without one.

Most of the time, writing the changelog text takes more effort than the patch itself, which is good, as that documents what is happening and why you are making the change that you are proposing.

thanks,

greg k-h

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#3 lore raw
In reply to Marlon Rac Cambasis

Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt Required Properties: · line 78

Quoted 2 lines · Marlon Rac Cambasis
Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt +1 -1
-  should be atleast one pin specfied for this property and there is no upper
+  should be atleast one pin specified for this property and there is no upper

'at least' should be two words. Given that, you should probably do a careful check of both files, and fix any other spelling errors as long as you're at it.

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies