linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: fix struct member name in function comments
@ 2019-09-27 14:40 Hao Lee
  2019-10-01 11:52 ` Wei Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Hao Lee @ 2019-09-27 14:40 UTC (permalink / raw)
  To: akpm
  Cc: vbabka, dan.j.williams, mhocko, mgorman, richard.weiyang, hannes,
	arunks, linux-mm, linux-kernel, haolee.swjtu

The member in struct zonelist is _zonerefs instead of zones.

Signed-off-by: Hao Lee <haolee.swjtu@gmail.com>
---
 include/linux/mmzone.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 3f38c30d2f13..6d44a49b3f29 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -1064,7 +1064,7 @@ static inline struct zoneref *first_zones_zonelist(struct zonelist *zonelist,
 /**
  * for_each_zone_zonelist_nodemask - helper macro to iterate over valid zones in a zonelist at or below a given zone index and within a nodemask
  * @zone - The current zone in the iterator
- * @z - The current pointer within zonelist->zones being iterated
+ * @z - The current pointer within zonelist->_zonerefs being iterated
  * @zlist - The zonelist being iterated
  * @highidx - The zone index of the highest zone to return
  * @nodemask - Nodemask allowed by the allocator
-- 
2.14.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm: fix struct member name in function comments
  2019-09-27 14:40 [PATCH] mm: fix struct member name in function comments Hao Lee
@ 2019-10-01 11:52 ` Wei Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Wei Yang @ 2019-10-01 11:52 UTC (permalink / raw)
  To: Hao Lee
  Cc: akpm, vbabka, dan.j.williams, mhocko, mgorman, richard.weiyang,
	hannes, arunks, linux-mm, linux-kernel

On Fri, Sep 27, 2019 at 02:40:49PM +0000, Hao Lee wrote:
>The member in struct zonelist is _zonerefs instead of zones.
>
>Signed-off-by: Hao Lee <haolee.swjtu@gmail.com>

Reviewed-by: Wei Yang <richardw.yang@linux.intel.com>

>---
> include/linux/mmzone.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
>index 3f38c30d2f13..6d44a49b3f29 100644
>--- a/include/linux/mmzone.h
>+++ b/include/linux/mmzone.h
>@@ -1064,7 +1064,7 @@ static inline struct zoneref *first_zones_zonelist(struct zonelist *zonelist,
> /**
>  * for_each_zone_zonelist_nodemask - helper macro to iterate over valid zones in a zonelist at or below a given zone index and within a nodemask
>  * @zone - The current zone in the iterator
>- * @z - The current pointer within zonelist->zones being iterated
>+ * @z - The current pointer within zonelist->_zonerefs being iterated
>  * @zlist - The zonelist being iterated
>  * @highidx - The zone index of the highest zone to return
>  * @nodemask - Nodemask allowed by the allocator
>-- 
>2.14.5

-- 
Wei Yang
Help you, Help me


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-01 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-27 14:40 [PATCH] mm: fix struct member name in function comments Hao Lee
2019-10-01 11:52 ` Wei Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).