From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751656AbdHWXb1 (ORCPT ); Wed, 23 Aug 2017 19:31:27 -0400 Received: from mail-pg0-f50.google.com ([74.125.83.50]:38196 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751231AbdHWXb0 (ORCPT ); Wed, 23 Aug 2017 19:31:26 -0400 Date: Wed, 23 Aug 2017 16:31:24 -0700 From: Matthias Kaehlcke To: Sergey Senozhatsky Cc: Andrew Morton , Minchan Kim , Nitin Gupta , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Doug Anderson Subject: Re: [PATCH] mm/zsmalloc: Change stat type parameter to int Message-ID: <20170823233124.GF173745@google.com> References: <20170731175000.56538-1-mka@chromium.org> <20170801073014.GA513@jagdpanzerIV.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170801073014.GA513@jagdpanzerIV.localdomain> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > Reviewed-by: Sergey Senozhatsky Ping, it seems this one went under Andrew's radar. Mea culpa for not putting him in cc: in the first place. Thanks Matthias From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f69.google.com (mail-pg0-f69.google.com [74.125.83.69]) by kanga.kvack.org (Postfix) with ESMTP id 6F1B12803FE for ; Wed, 23 Aug 2017 19:31:27 -0400 (EDT) Received: by mail-pg0-f69.google.com with SMTP id q16so19378027pgc.15 for ; Wed, 23 Aug 2017 16:31:27 -0700 (PDT) Received: from mail-pg0-x232.google.com (mail-pg0-x232.google.com. [2607:f8b0:400e:c05::232]) by mx.google.com with ESMTPS id b5si1829769ple.560.2017.08.23.16.31.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Aug 2017 16:31:26 -0700 (PDT) Received: by mail-pg0-x232.google.com with SMTP id u191so7040657pgc.2 for ; Wed, 23 Aug 2017 16:31:26 -0700 (PDT) Date: Wed, 23 Aug 2017 16:31:24 -0700 From: Matthias Kaehlcke Subject: Re: [PATCH] mm/zsmalloc: Change stat type parameter to int Message-ID: <20170823233124.GF173745@google.com> References: <20170731175000.56538-1-mka@chromium.org> <20170801073014.GA513@jagdpanzerIV.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170801073014.GA513@jagdpanzerIV.localdomain> Sender: owner-linux-mm@kvack.org List-ID: To: Sergey Senozhatsky Cc: Andrew Morton , Minchan Kim , Nitin Gupta , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Doug Anderson 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 > > Reviewed-by: Sergey Senozhatsky Ping, it seems this one went under Andrew's radar. Mea culpa for not putting him in cc: in the first place. Thanks Matthias -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org