Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751115AbbLHV4p (ORCPT ); Tue, 8 Dec 2015 16:56:45 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:33646 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750737AbbLHV4o (ORCPT ); Tue, 8 Dec 2015 16:56:44 -0500 Date: Tue, 8 Dec 2015 13:56:42 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Johannes Weiner 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 In-Reply-To: <1449583412-22740-1-git-send-email-hannes@cmpxchg.org> Message-ID: References: <1449583412-22740-1-git-send-email-hannes@cmpxchg.org> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="397176738-616683805-1449611802=:29940" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1187 Lines: 29 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --397176738-616683805-1449611802=:29940 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT 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. --397176738-616683805-1449611802=:29940-- -- 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/