summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorWanpeng Li2012-06-20 21:53:01 +0200
committerLinus Torvalds2012-06-20 23:39:36 +0200
commitdad7557eb705688040aac134efa5418b66d5ed92 (patch)
treeacc3084ba2041578b1095b2edd784ebabb9e38c5 /mm/memcontrol.c
parentmm: correctly synchronize rss-counters at exit/exec (diff)
downloadkernel-qcow2-linux-dad7557eb705688040aac134efa5418b66d5ed92.tar.gz
kernel-qcow2-linux-dad7557eb705688040aac134efa5418b66d5ed92.tar.xz
kernel-qcow2-linux-dad7557eb705688040aac134efa5418b66d5ed92.zip
mm: fix kernel-doc warnings
Fix kernel-doc warnings such as Warning(../mm/page_cgroup.c:432): No description found for parameter 'id' Warning(../mm/page_cgroup.c:432): Excess function parameter 'mem' description in 'swap_cgroup_record' Signed-off-by: Wanpeng Li <liwp@linux.vnet.ibm.com> Cc: Randy Dunlap <randy.dunlap@oracle.com> 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index f8517cd28feb..f72b5e52451a 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -1234,7 +1234,7 @@ int mem_cgroup_inactive_file_is_low(struct lruvec *lruvec)
/**
* mem_cgroup_margin - calculate chargeable space of a memory cgroup
- * @mem: the memory cgroup
+ * @memcg: the memory cgroup
*
* Returns the maximum amount of memory @mem can be charged with, in
* pages.
@@ -1508,7 +1508,7 @@ static unsigned long mem_cgroup_reclaim(struct mem_cgroup *memcg,
/**
* test_mem_cgroup_node_reclaimable
- * @mem: the target memcg
+ * @memcg: the target memcg
* @nid: the node ID to be checked.
* @noswap : specify true here if the user wants flle only information.
*