[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5864C12F.60709@huawei.com>
Date: Thu, 29 Dec 2016 15:54:23 +0800
From: Xishi Qiu <qiuxishi@...wei.com>
To: Minchan Kim <minchan@...nel.org>, <ngupta@...are.org>,
<sergey.senozhatsky.work@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>
CC: Linux MM <linux-mm@...ck.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH V2] mm: fix typo of cache_alloc_zspage()
Delete extra semicolon, it was introduced in
3783689 zsmalloc: introduce zspage structure
Signed-off-by: Xishi Qiu <qiuxishi@...wei.com>
---
mm/zsmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index 9cc3c0b..2d6c92e 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -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)
{
--
1.8.3.1
Powered by blists - more mailing lists