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

2017-08-23 Thread Matthias Kaehlcke
El Tue, Aug 01, 2017 at 04:30:14PM +0900 Sergey Senozhatsky ha dit: > 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 o

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

2017-08-01 Thread Sergey Senozhatsky
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-b

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

2017-07-31 Thread Minchan Kim
On Mon, Jul 31, 2017 at 10:50:00AM -0700, 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' warni

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

2017-07-31 Thread Matthias Kaehlcke
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 --- mm/zsmalloc.c | 9 ++--- 1