Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932844Ab0KPWCR (ORCPT ); Tue, 16 Nov 2010 17:02:17 -0500 Received: from tundra.namei.org ([65.99.196.166]:42169 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932124Ab0KPWCO (ORCPT ); Tue, 16 Nov 2010 17:02:14 -0500 Date: Wed, 17 Nov 2010 09:01:40 +1100 (EST) From: James Morris To: Eric Paris cc: Joe Perches , Linus Torvalds , Dan Rosenberg , Ingo Molnar , Eugene Teo , Kees Cook , Andrew Morton , LSM List , LKML Subject: Re: [PATCH] kernel/sysctl.c: Fix build failure with !CONFIG_PRINTK In-Reply-To: <1289885773.14282.57.camel@localhost.localdomain> Message-ID: References: <201011160259.oAG2x1UX012045@hera.kernel.org> <1289884647.16461.186.camel@Joe-Laptop> <1289885773.14282.57.camel@localhost.localdomain> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1245 Lines: 52 On Tue, 16 Nov 2010, Eric Paris wrote: > On Mon, 2010-11-15 at 21:17 -0800, Joe Perches wrote: > > Sigh... > > > > Signed-off-by: Joe Perches > > eparis fails again. > > Acked-by: Eric Paris Acked-by: James Morris > > > --- > > kernel/sysctl.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/kernel/sysctl.c b/kernel/sysctl.c > > index b65bf63..5abfa15 100644 > > --- a/kernel/sysctl.c > > +++ b/kernel/sysctl.c > > @@ -702,7 +702,6 @@ static struct ctl_table kern_table[] = { > > .extra1 = &zero, > > .extra2 = &ten_thousand, > > }, > > -#endif > > { > > .procname = "dmesg_restrict", > > .data = &dmesg_restrict, > > @@ -712,6 +711,7 @@ static struct ctl_table kern_table[] = { > > .extra1 = &zero, > > .extra2 = &one, > > }, > > +#endif > > { > > .procname = "ngroups_max", > > .data = &ngroups_max, > > > > > > -- 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/