Re: [PATCH] mm: fix spelling error

From: Wei Yang
Date: Tue May 09 2017 - 22:38:19 EST


On Tue, Apr 04, 2017 at 12:16:55AM +0800, Hao Lee wrote:
>Fix variable name error in comments. No code changes.
>
>Signed-off-by: Hao Lee <haolee.swjtu@xxxxxxxxx>
>---
> include/linux/gfp.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/include/linux/gfp.h b/include/linux/gfp.h
>index db373b9..ff3d651 100644
>--- a/include/linux/gfp.h
>+++ b/include/linux/gfp.h
>@@ -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.

Acked-by: Wei Yang <richard.weiyang@xxxxxxxxx>

>--
>2.9.3

--
Wei Yang
Help you, Help me

Attachment: signature.asc
Description: PGP signature