Skip to content

Commit

Permalink
mm: fix some typos in mm/zsmalloc.c
Browse files Browse the repository at this point in the history
Delete extra semicolon, and fix some typos.

Link: http://lkml.kernel.org/r/586F1823.4050107@huawei.com
Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Xishi Qiu authored and Linus Torvalds committed Feb 23, 2017
1 parent d3a9d7a commit 399d8ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mm/zsmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Usage of struct page flags:
* PG_private: identifies the first component page
* PG_private2: identifies the last component page
* PG_owner_priv_1: indentifies the huge component page
* PG_owner_priv_1: identifies the huge component page
*
*/

Expand Down Expand Up @@ -364,7 +364,7 @@ static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags)
{
return kmem_cache_alloc(pool->zspage_cachep,
flags & ~(__GFP_HIGHMEM|__GFP_MOVABLE));
};
}

static void cache_free_zspage(struct zs_pool *pool, struct zspage *zspage)
{
Expand Down Expand Up @@ -2383,7 +2383,7 @@ struct zs_pool *zs_create_pool(const char *name)
goto err;

/*
* Iterate reversly, because, size of size_class that we want to use
* Iterate reversely, because, size of size_class that we want to use
* for merging should be larger or equal to current size.
*/
for (i = zs_size_classes - 1; i >= 0; i--) {
Expand Down

0 comments on commit 399d8ee

Please sign in to comment.