Re: [PATCH] kernel/sysctl.c: Fix build failure with !CONFIG_PRINTK

From: James Morris
Date: Tue Nov 16 2010 - 17:02:21 EST


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 <joe@xxxxxxxxxxx>
>
> eparis fails again.
>
> Acked-by: Eric Paris <eparis@xxxxxxxxxx>

Acked-by: James Morris <jmorris@xxxxxxxxx>


>
> > ---
> > 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
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/