Re: [PATCH 1/5] jump label: fix module __init section race

From: Steven Rostedt
Date: Wed Oct 06 2010 - 11:46:41 EST


On Wed, 2010-10-06 at 11:41 -0400, Jason Baron wrote:
> On Wed, Oct 06, 2010 at 09:00:50AM -0400, Steven Rostedt wrote:
> > On Sat, 2010-10-02 at 17:58 +0900, Masami Hiramatsu wrote:
> >
> > > > +static void remove_module_init(struct module *mod)
> > >
> > > Hi Jason,
> > >
> > > Just a comment, I prefer remove_jump_label_module_init() than this name,
> > > because remove_module_init is too general.
> >
> > This is probably not too big of a deal since it is static, but the name
> > change may make it easier for etags and ctags users.
> >
> > Jason, are you OK if I pull in this patch and make the change myself?
> >
> > -- Steve
> >
>
> fine with me. I had a more specific function name and then shortened it
> because it seemed too long, either way is fine with me.
>

Maybe call it jl_remove_module_init()? For static functions, I usually
use abbreviations. As long as it isn't too confusing.

-- Steve


--
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/