Messages in this thread Patch in this message |  | | Date | Mon, 4 Dec 2000 09:39:32 -0500 (EST) | From | "Mohammad A. Haque" <> | Subject | Re: test12-pre4 drivers/net/dummy |
| |
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/ mhaque@haque.net
"Alcohol and calculus don't mix. Project Lead Don't drink and derive." --Unknown http://wm.themes.org/ batmanppc@themes.org ===================================================================== --- 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 |  |