summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorJianguo Wu <wujianguo@huawei.com>2013-09-11 14:21:42 -0700
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:47:19 +0900
commitbed3a3fec3fa0360fe66a3cfd89896e7511922dc (patch)
treecd8f8d8f515cb44b136a22f13bd7f0d4b5c07772 /mm
parentf8d1cf01d576955c44566d980b1607f605dc4eab (diff)
downloadlinux-3.10-bed3a3fec3fa0360fe66a3cfd89896e7511922dc.tar.gz
linux-3.10-bed3a3fec3fa0360fe66a3cfd89896e7511922dc.tar.bz2
linux-3.10-bed3a3fec3fa0360fe66a3cfd89896e7511922dc.zip
mm/zbud: fix some trivial typos in comments
Change-Id: I1acb8c1f4ff9ab8dbd698380a731daef51d028fc Signed-off-by: Jianguo Wu <wujianguo@huawei.com> Cc: Seth Jennings <sjenning@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/zbud.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/zbud.c b/mm/zbud.c
index ad1e781284f..9451361e6aa 100644
--- a/mm/zbud.c
+++ b/mm/zbud.c
@@ -16,7 +16,7 @@
*
* zbud works by storing compressed pages, or "zpages", together in pairs in a
* single memory page called a "zbud page". The first buddy is "left
- * justifed" at the beginning of the zbud page, and the last buddy is "right
+ * justified" at the beginning of the zbud page, and the last buddy is "right
* justified" at the end of the zbud page. The benefit is that if either
* buddy is freed, the freed buddy space, coalesced with whatever slack space
* that existed between the buddies, results in the largest possible free region
@@ -243,7 +243,7 @@ void zbud_destroy_pool(struct zbud_pool *pool)
* gfp should not set __GFP_HIGHMEM as highmem pages cannot be used
* as zbud pool pages.
*
- * Return: 0 if success and handle is set, otherwise -EINVAL is the size or
+ * Return: 0 if success and handle is set, otherwise -EINVAL if the size or
* gfp arguments are invalid or -ENOMEM if the pool was unable to allocate
* a new page.
*/