Re: [PATCH] zsmalloc: fix semicolon.cocci warnings
From: Minchan Kim
Date: Mon Mar 21 2016 - 22:23:13 EST
On Mon, Mar 21, 2016 at 05:48:25PM +0800, kbuild test robot wrote:
> mm/zsmalloc.c:1103:2-3: Unneeded semicolon
>
>
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Minchan Kim <minchan@xxxxxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> ---
>
> 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)
Thanks.
Fixed.