summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorMike Rapoport2018-02-07 00:42:16 +0100
committerLinus Torvalds2018-02-07 03:32:48 +0100
commitf144c390f9059d9efafe54c4eb22bb13a2cb5534 (patch)
tree173776e212dbde352a879dcbc6587b400c45f301 /mm/memcontrol.c
parentmm: docs: fixup punctuation (diff)
downloadkernel-qcow2-linux-f144c390f9059d9efafe54c4eb22bb13a2cb5534.tar.gz
kernel-qcow2-linux-f144c390f9059d9efafe54c4eb22bb13a2cb5534.tar.xz
kernel-qcow2-linux-f144c390f9059d9efafe54c4eb22bb13a2cb5534.zip
mm: docs: fix parameter names mismatch
There are several places where parameter descriptions do no match the actual code. Fix it. Link: http://lkml.kernel.org/r/1516700871-22279-3-git-send-email-rppt@linux.vnet.ibm.com Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r--mm/memcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 3793e22977c0..13b35ffa021e 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -917,7 +917,7 @@ int mem_cgroup_scan_tasks(struct mem_cgroup *memcg,
/**
* mem_cgroup_page_lruvec - return lruvec for isolating/putting an LRU page
* @page: the page
- * @zone: zone of the page
+ * @pgdat: pgdat of the page
*
* This function is only safe when following the LRU page isolation
* and putback protocol: the LRU lock must be held, and the page must