Skip to contentSkip to conversation

Minor documentation typo fixes.

PATCH In review Raymond L. Rivera 2 participants 6 messages Jul 24, 2014 – Jul 25, 2014

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

cover Minor documentation typo fixes.

I discovered a few minor typos in some files I was reading and I fixed them. I also took the opportunity to familiarize myself with the patch submission process and a few other things. Hope it works out.

Raymond L. Rivera (2):
CodingStyle: Fixed a minor typo. linux/pagemap.h: Fixed a typo in a code comment.

 Documentation/CodingStyle | 2 +-
 include/linux/pagemap.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/2 CodingStyle: Fixed a minor typo.

There was a minor typo in the CodingStyle document where the word 'section' had been spelled as 'secton'.

---
 Documentation/CodingStyle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/CodingStyle +1 -1
index 6b6bef3..3171822 100644
@@ -675,7 +675,7 @@ the ones already enabled by DEBUG.
 Many subsystems have Kconfig debug options to turn on -DDEBUG in the
 corresponding Makefile; in other cases specific files #define DEBUG.  And
 when a debug message should be unconditionally printed, such as if it is
-already inside a debug-related #ifdef secton, printk(KERN_DEBUG ...) can be
+already inside a debug-related #ifdef section, printk(KERN_DEBUG ...) can be
 used.
 
 
Signature · 1 line
1.9.1
reviewer Acked-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] CodingStyle: Fixed a minor typo.

Quoted 4 lines · Raymond L. Rivera

There was a minor typo in the CodingStyle document where the word 'section' had been spelled as 'secton'.

Jiri, please pick up patches 1 & 2 for trivial.
Thanks.

Quoted 18 lines
---
 Documentation/CodingStyle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/CodingStyle +1 -1
index 6b6bef3..3171822 100644
@@ -675,7 +675,7 @@ the ones already enabled by DEBUG.
 Many subsystems have Kconfig debug options to turn on -DDEBUG in the
 corresponding Makefile; in other cases specific files #define DEBUG.  And
 when a debug message should be unconditionally printed, such as if it is
-already inside a debug-related #ifdef secton, printk(KERN_DEBUG ...) can be
+already inside a debug-related #ifdef section, printk(KERN_DEBUG ...) can be
 used.
 
 
Signature · 1 line
~Randy
#3 lore raw

PATCH 2/2 linux/pagemap.h: Fixed a typo in a code comment.

In reply to Raymond L. Rivera

Corrected a minor typo in a code comment where 'be' was missing.

---
 include/linux/pagemap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/pagemap.h +1 -1
index 0a97b58..bcabdbe 100644
@@ -96,7 +96,7 @@ static inline void mapping_set_gfp_mask(struct address_space *m, gfp_t mask)
 }
 
 /*
- * The page cache can done in larger chunks than
+ * The page cache can be done in larger chunks than
  * one page, because it allows for more efficient
  * throughput (it can then be mapped into user
  * space in smaller chunks for same flexibility).
Signature · 1 line
1.9.1
reviewer Acked-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] linux/pagemap.h: Fixed a typo in a code comment.

Quoted 3 lines · Raymond L. Rivera

Corrected a minor typo in a code comment where 'be' was missing.

Quoted 18 lines
---
 include/linux/pagemap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/pagemap.h +1 -1
index 0a97b58..bcabdbe 100644
@@ -96,7 +96,7 @@ static inline void mapping_set_gfp_mask(struct address_space *m, gfp_t mask)
 }
 
 /*
- * The page cache can done in larger chunks than
+ * The page cache can be done in larger chunks than
  * one page, because it allows for more efficient
  * throughput (it can then be mapped into user
  * space in smaller chunks for same flexibility).
Signature · 1 line
~Randy
reviewer
#5 lore raw
In reply to Raymond L. Rivera
Quoted 4 lines · Raymond L. Rivera

I discovered a few minor typos in some files I was reading and I fixed them. I also took the opportunity to familiarize myself with the patch submission process and a few other things. Hope it works out.

Quoted 8 lines

Raymond L. Rivera (2):
CodingStyle: Fixed a minor typo. linux/pagemap.h: Fixed a typo in a code comment.

 Documentation/CodingStyle | 2 +-
 include/linux/pagemap.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Hi,
In the future, please send such minor/trivial patches to Jiri Kosina <[email protected]>

Thanks.

Signature · 1 line
~Randy