Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757985AbXJaNmT (ORCPT ); Wed, 31 Oct 2007 09:42:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755428AbXJaNmL (ORCPT ); Wed, 31 Oct 2007 09:42:11 -0400 Received: from namei.org ([69.55.235.186]:55871 "EHLO us.intercode.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754782AbXJaNmK (ORCPT ); Wed, 31 Oct 2007 09:42:10 -0400 Date: Thu, 1 Nov 2007 00:41:08 +1100 (EST) From: James Morris X-X-Sender: jmorris@us.intercode.com.au To: Stephen Rothwell cc: Serge Hallyn , Venkat Yekkirala , Stephen Smalley , Eric Paris , linux-kernel@vger.kernel.org, selinux@tycho.nsa.gov Subject: Re: [PATCHv2] selinux: suppress a warning for 64k pages. In-Reply-To: <20071031164719.77f48d75.sfr@canb.auug.org.au> Message-ID: References: <20071031145744.6dd02cc7.sfr@canb.auug.org.au> <20071031164719.77f48d75.sfr@canb.auug.org.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 817 Lines: 28 On Wed, 31 Oct 2007, Stephen Rothwell wrote: > On PowerPC allmodconfig build we get this: > > security/selinux/xfrm.c:214: warning: comparison is always false due to limited range of data type > > Signed-off-by: Stephen Rothwell > --- > security/selinux/xfrm.c | 13 +++++++------ > 1 files changed, 7 insertions(+), 6 deletions(-) > > This version suppresses the warning without ugly ifdefs. Thanks, Stephen. Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6.git#for-linus -- James Morris - 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/