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

From: Matthias Kaehlcke
Date: Wed Aug 23 2017 - 19:31:32 EST


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 of the functions and get rid of
> > 'enum-conversion' warnings
> >
> > Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
>
> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

Ping, it seems this one went under Andrew's radar. Mea culpa for not
putting him in cc: in the first place.

Thanks

Matthias