[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m14pec6vc1.fsf@ebiederm.dsl.xmission.com>
Date: Fri, 21 Dec 2007 06:17:18 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Dave Jones <davej@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Jan Beulich <jbeulich@...ell.com>, linux-kernel@...r.kernel.org
Subject: Re: [Jan Beulich] [PATCH] constify tables in kernel/sysctl_check.c
Dave Jones <davej@...hat.com> writes:
> On Thu, Dec 20, 2007 at 04:14:05PM -0700, Eric W. Biederman wrote:
>
> > Remains the question whether it is intended that many, perhaps even
> > large, tables are compiled in without ever having a chance to get used,
> > i.e. whether there shouldn't #ifdef CONFIG_xxx get added.
>
> > -static struct trans_ctl_table trans_net_ax25_param_table[] = {
> > +static const struct trans_ctl_table trans_net_ax25_table[] = {
>
> we lost the _param, which will cause a duplicate definition with ..
>
> > -static struct trans_ctl_table trans_net_ax25_table[] = {
> > +static const struct trans_ctl_table trans_net_ax25_table[] = {
>
> cut-n-paste thinko ?
Thanks, for catching that.
Anyway this patch looks sound in principle but I expect it might conflict
with the bug fix Andrew just merged.
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists