Skip to contentSkip to conversation

mm: fix spelling error

PATCH Applied Hao Lee 2 participants 2 messages Apr 3, 2017 – May 10, 2017

Subsystems (3)
lore
Share & tools
lore

Hao Lee

author
#0 lore raw

PATCH 1/1 mm: fix spelling error

Fix variable name error in comments. No code changes.

---
 include/linux/gfp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/gfp.h +2 -2
index db373b9..ff3d651 100644
@@ -297,8 +297,8 @@ static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags)
 
 /*
  * GFP_ZONE_TABLE is a word size bitstring that is used for looking up the
- * zone to use given the lowest 4 bits of gfp_t. Entries are ZONE_SHIFT long
- * and there are 16 of them to cover all possible combinations of
+ * zone to use given the lowest 4 bits of gfp_t. Entries are GFP_ZONES_SHIFT
+ * bits long and there are 16 of them to cover all possible combinations of
  * __GFP_DMA, __GFP_DMA32, __GFP_MOVABLE and __GFP_HIGHMEM.
  *
  * The zone fallback order is MOVABLE=>HIGHMEM=>NORMAL=>DMA32=>DMA.
Signature · 7 lines
2.9.3

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Acked-by on v1 1/1
#1 lore raw
Quoted 12 lines · Hao Lee

Fix variable name error in comments. No code changes.

---
include/linux/gfp.h | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/gfp.h +0 -0
index db373b9..ff3d651 100644

include/linux/gfp.h static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags) · line 304

Quoted 10 lines
include/linux/gfp.h +2 -2
@@ -297,8 +297,8 @@ static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags)
 
 /*
 * GFP_ZONE_TABLE is a word size bitstring that is used for looking up the
- * zone to use given the lowest 4 bits of gfp_t. Entries are ZONE_SHIFT long
- * and there are 16 of them to cover all possible combinations of
+ * zone to use given the lowest 4 bits of gfp_t. Entries are GFP_ZONES_SHIFT
+ * bits long and there are 16 of them to cover all possible combinations of
 * __GFP_DMA, __GFP_DMA32, __GFP_MOVABLE and __GFP_HIGHMEM.
 *
 * The zone fallback order is MOVABLE=>HIGHMEM=>NORMAL=>DMA32=>DMA.

Looks good to me.

Quoted 2 lines
Signature · 1 line
2.9.3
Signature · 2 lines
Wei Yang
Help you, Help me