lkml.org 
[lkml]   [2002]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] In-kernel module loader 5/7
Date
In message <20020918074310.GA1539@werewolf.able.es> you write:
> Would not be worthy to do something like
>
> #define MODULE_INIT_DEFAULT \
> static int init(void) { return o;} \
> module_init(init)
> ...
>
> so you just can add:
>
> MODULE_INIT_DEFAULT;
> MODULE_EXIT_DEFAULT;

Hmmm... I didn't do that because I want people to *think* about init
and exit issues, and because most modules *do* need some
initialization.

Cheers,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.041 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site