Ok, so here's the proper patch for those who dont want to wait for t5 =) Ignore previous. On Mon, 4 Dec 2000, Jeff Garzik wrote: > the fix is in module.h which needs extra parens in the def of > set_module_owner... > > Jeff -- ===================================================================== Mohammad A. Haque http://www.haque.net/ [EMAIL PROTECTED] "Alcohol and calculus don't mix. Project Lead Don't drink and derive." --Unknown http://wm.themes.org/ [EMAIL PROTECTED] =====================================================================
--- linux/include/linux/module.h.orig Mon Dec 4 09:15:38 2000 +++ linux/include/linux/module.h Mon Dec 4 09:35:25 2000 @@ -345,7 +345,7 @@ #endif /* MODULE */ #ifdef CONFIG_MODULES -#define SET_MODULE_OWNER(some_struct) do { some_struct->owner = THIS_MODULE; } while (0) +#define SET_MODULE_OWNER(some_struct) do { (some_struct)->owner = THIS_MODULE; } +while (0) #else #define SET_MODULE_OWNER(some_struct) do { } while (0) #endif