From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751769AbdHAHaC (ORCPT ); Tue, 1 Aug 2017 03:30:02 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:34113 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751722AbdHAHaB (ORCPT ); Tue, 1 Aug 2017 03:30:01 -0400 Date: Tue, 1 Aug 2017 16:30:14 +0900 From: Sergey Senozhatsky To: Matthias Kaehlcke Cc: Minchan Kim , Nitin Gupta , Sergey Senozhatsky , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Doug Anderson Subject: Re: [PATCH] mm/zsmalloc: Change stat type parameter to int Message-ID: <20170801073014.GA513@jagdpanzerIV.localdomain> References: <20170731175000.56538-1-mka@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170731175000.56538-1-mka@chromium.org> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Sergey Senozhatsky -ss