[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091115081126.GD15432@elte.hu>
Date: Sun, 15 Nov 2009 09:11:26 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Am??rico Wang <xiyou.wangcong@...il.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Joe Perches <joe@...ches.com>, LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] sysctl.c: Change a .proc_handler = proc_dointvec to
&proc_dointvec,
* Am??rico Wang <xiyou.wangcong@...il.com> wrote:
> On Sat, Nov 14, 2009 at 05:52:05PM -0800, Joe Perches wrote:
> >Seems to be a typo.
> >
>
> Well, in this case, proc_dointvec == &proc_dointvec,
> both of them are the same function pointer.
>
> But yes, &proc_dointvec looks more readable.
>
> >Signed-off-by: Joe Perches <joe@...ches.com>
>
> Acked-by: WANG Cong <xiyou.wangcong@...il.com>
(Cc:-ed Eric who is running the sysctl tree these days)
Almost everywhere in the kernel we use the shorter version, so all of
sysctl.c should eventually change to that variant.
Ingo
--
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