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


Groups > linux.kernel > #1700692

Re: [PATCH] mm/zsmalloc: Change stat type parameter to int

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm/zsmalloc: Change stat type parameter to int
Date 2017-08-01 09:40 +0200
Message-ID <u9zWx-iZ-1@gated-at.bofh.it> (permalink)
References <u9n92-NK-57@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On (07/31/17 10:50), Matthias Kaehlcke wrote:
> zs_stat_inc/dec/get() uses enum zs_stat_type for the stat type, however
> some callers pass an enum fullness_group value. Change the type to int
> to reflect the actual use of the functions and get rid of
> 'enum-conversion' warnings
> 
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>

Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>

	-ss

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


Thread

[PATCH] mm/zsmalloc: Change stat type parameter to int Matthias Kaehlcke <mka@chromium.org> - 2017-07-31 20:00 +0200
  Re: [PATCH] mm/zsmalloc: Change stat type parameter to int Minchan Kim <minchan@kernel.org> - 2017-08-01 09:00 +0200
  Re: [PATCH] mm/zsmalloc: Change stat type parameter to int Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-08-01 09:40 +0200

csiph-web