Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751449AbbLIOmA (ORCPT ); Wed, 9 Dec 2015 09:42:00 -0500 Received: from gum.cmpxchg.org ([85.214.110.215]:48656 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751276AbbLIOl6 (ORCPT ); Wed, 9 Dec 2015 09:41:58 -0500 Date: Wed, 9 Dec 2015 09:41:53 -0500 From: Johannes Weiner To: David Rientjes Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH] mm: page_alloc: fix variable type in zonelist type iteration Message-ID: <20151209144153.GA21713@cmpxchg.org> References: <1449583412-22740-1-git-send-email-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1026 Lines: 24 On Tue, Dec 08, 2015 at 01:56:42PM -0800, David Rientjes wrote: > On Tue, 8 Dec 2015, Johannes Weiner wrote: > > > /home/hannes/src/linux/linux/mm/page_alloc.c: In function ‘build_zonelists’: > > /home/hannes/src/linux/linux/mm/page_alloc.c:4171:16: warning: comparison between ‘enum zone_type’ and ‘enum ’ [-Wenum-compare] > > for (i = 0; i < MAX_ZONELISTS; i++) { > > ^ > > > > MAX_ZONELISTS has never been of enum zone_type, probably gcc only > > recently started including -Wenum-compare in -Wall. > > > > Make i a simple int. > > > > Signed-off-by: Johannes Weiner > > I think this is already handled by > http://marc.info/?l=linux-kernel&m=144901185732632. Yup, it does. Thanks, David. Scratch this patch. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/