linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Wei Yang <richard.weiyang@gmail.com>
To: Hao Lee <haolee.swjtu@gmail.com>
Cc: akpm@linux-foundation.org, vbabka@suse.cz,
	dan.j.williams@intel.com, mhocko@suse.com,
	mgorman@techsingularity.net, richard.weiyang@gmail.com,
	hannes@cmpxchg.org, arunks@codeaurora.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: fix struct member name in function comments
Date: Tue, 1 Oct 2019 11:52:23 +0000	[thread overview]
Message-ID: <20191001115223.tqalvsgu6wjm36sb@master> (raw)
In-Reply-To: <20190927144049.GA29622@haolee.github.io>

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


      reply	other threads:[~2019-10-01 11:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-27 14:40 Hao Lee
2019-10-01 11:52 ` Wei Yang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191001115223.tqalvsgu6wjm36sb@master \
    --to=richard.weiyang@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=arunks@codeaurora.org \
    --cc=dan.j.williams@intel.com \
    --cc=hannes@cmpxchg.org \
    --cc=haolee.swjtu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@techsingularity.net \
    --cc=mhocko@suse.com \
    --cc=vbabka@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox