Skip to contentSkip to conversation

docs:fs:fixed some spelling mistakes in the bcachefs coding style page

PATCH In review Dennis Lam 2 participants 4 messages Sep 6, 2024 – Sep 13, 2024 Documentation

lore
Share & tools
lore

Dennis Lam

author
#0 lore raw

PATCH 1/1 docs:fs:fixed some spelling mistakes in the bcachefs coding style page

---
 Documentation/filesystems/bcachefs/CodingStyle.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/filesystems/bcachefs/CodingStyle.rst +2 -2
index 0c45829a4899..b29562a6bf55 100644
@@ -175,7 +175,7 @@ errors in our thinking by running our code and seeing what happens. If your
 time is being wasted because your tools are bad or too slow - don't accept it,
 fix it.
 
-Put effort into your documentation, commmit messages, and code comments - but
+Put effort into your documentation, commit messages, and code comments - but
 don't go overboard. A good commit message is wonderful - but if the information
 was important enough to go in a commit message, ask yourself if it would be
 even better as a code comment.
@@ -183,4 +183,4 @@ even better as a code comment.
 A good code comment is wonderful, but even better is the comment that didn't
 need to exist because the code was so straightforward as to be obvious;
 organized into small clean and tidy modules, with clear and descriptive names
-for functions and variable, where every line of code has a clear purpose.
+for functions and variables, where every line of code has a clear purpose.
Signature · 1 line
2.46.0
#1 lore raw

Hello,

Quoted 1 line · Dennis Lam

---

Change the subject, it needs spaces to be readable:

"docs: fs: fixed spelling mistakes [...]"

Also, you need a body in the commit which includes an explanation of what the patch does (even if it is almost the same as the Subject) and your signature. See: https://docs.kernel.org/process/submitting-patches.html

Quoted 17 lines
 Documentation/filesystems/bcachefs/CodingStyle.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/filesystems/bcachefs/CodingStyle.rst +1 -1
index 0c45829a4899..b29562a6bf55 100644
@@ -175,7 +175,7 @@ errors in our thinking by running our code and seeing what happens. If your
 time is being wasted because your tools are bad or too slow - don't accept it,
 fix it.
 
-Put effort into your documentation, commmit messages, and code comments - but
+Put effort into your documentation, commit messages, and code comments - but
 don't go overboard. A good commit message is wonderful - but if the information
 was important enough to go in a commit message, ask yourself if it would be
 even better as a code comment.

Documentation/filesystems/bcachefs/CodingStyle.rst even better as a code comment. · line 186

Quoted 5 lines
Documentation/filesystems/bcachefs/CodingStyle.rst +1 -1
@@ -183,4 +183,4 @@ even better as a code comment.
 A good code comment is wonderful, but even better is the comment that didn't
 need to exist because the code was so straightforward as to be obvious;
 organized into small clean and tidy modules, with clear and descriptive names
-for functions and variable, where every line of code has a clear purpose.
+for functions and variables, where every line of code has a clear purpose.

Thanks, Carlos

author
#2 lore raw
Quoted 7 lines · Carlos Bilbao

Hello,

Quoted 1 line · Dennis Lam

---

Quoted 8 lines

Change the subject, it needs spaces to be readable:

"docs: fs: fixed spelling mistakes [...]"

Also, you need a body in the commit which includes an explanation of what the patch does (even if it is almost the same as the Subject) and your signature. See: https://docs.kernel.org/process/submitting-patches.html

Thanks for the response, I'll be sure to send a new better formatted patch.

Dennis

#3 lore raw
Quoted 9 lines · Dennis Lam
Quoted 7 lines · Carlos Bilbao

Hello,

Quoted 1 line · Dennis Lam

---

Change the subject, it needs spaces to be readable:

Quoted 7 lines
Quoted 6 lines

"docs: fs: fixed spelling mistakes [...]"

Also, you need a body in the commit which includes an explanation of what the patch does (even if it is almost the same as the Subject) and your signature. See: https://docs.kernel.org/process/submitting-patches.html

Thanks for the response, I'll be sure to send a new better formatted patch.

Awesome! Feel free to CC me :)

Quoted 2 lines

Dennis

Thanks, Carlos