[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A5A8430.7050300@cn.fujitsu.com>
Date: Mon, 13 Jul 2009 08:47:44 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Rakib Mullick <rakib.mullick@...il.com>
CC: LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH] ftrace: Add missing __init in ftrace_profile_debugfs()
Rakib Mullick wrote:
> Impact: Fix section mismatch.
>
> The function ftrace_profile_debugfs() references a variable placed in
> .init.data section. Thus causes a section mismatch warning. Since
> ftrace_profile_debugfs() has been called from only
> ftrace_init_debugfs, so we can safely mark ftrace_profile_debugfs as
Thanks. It has been fixed by commit
9d9949ce45b42be7a8157ea00fff2b1005ed844a in tip tree
> init. Also it contains a trivial style fix, __init should be placed
> between function type and function name (ftrace_init_debugfs).
>
I think both styles are Ok.
--
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