Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361660

[PATCH] zsmalloc: fix semicolon.cocci warnings

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [PATCH] zsmalloc: fix semicolon.cocci warnings
Date 2016-03-21 11:00 +0100
Message-ID <rf4MX-3JE-37@gated-at.bofh.it> (permalink)
References <rf4MW-3JE-23@gated-at.bofh.it> <rf1Fo-1LR-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


mm/zsmalloc.c:1103:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Minchan Kim <minchan@kernel.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 zsmalloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -1100,7 +1100,7 @@ void unlock_zspage(struct page *first_pa
 		VM_BUG_ON_PAGE(!PageLocked(cursor), cursor);
 		if (cursor != locked_page)
 			unlock_page(cursor);
-	};
+	}
 }
 
 static void free_zspage(struct zs_pool *pool, struct page *first_page)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 17/18] zsmalloc: migrate tail pages in zspage Minchan Kim <minchan@kernel.org> - 2016-03-21 07:40 +0100
  Re: [PATCH v2 17/18] zsmalloc: migrate tail pages in zspage kbuild test robot <lkp@intel.com> - 2016-03-21 11:00 +0100
  [PATCH] zsmalloc: fix semicolon.cocci warnings kbuild test robot <lkp@intel.com> - 2016-03-21 11:00 +0100
    Re: [PATCH] zsmalloc: fix semicolon.cocci warnings Minchan Kim <minchan@kernel.org> - 2016-03-22 03:30 +0100

csiph-web