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

From: Minchan Kim
Date: Tue Aug 01 2017 - 02:54:10 EST


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' warnings

Maybe clang?

>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
Anyway,

Acked-by: Minchan Kim <minchan@xxxxxxxxxx>

Thanks!