Messages in this thread |  | | Date | Tue, 7 Jan 2003 09:34:28 +0200 | From | Muli Ben-Yehuda <> | Subject | Re: [PATCH] Quiet warnings for def of {_,}_MOD_INC_USE_COUNT when CONFIG_MODULE=n |
| |
On Tue, Jan 07, 2003 at 03:32:39PM +0900, Miles Bader wrote: > Since `try_module_get(module)' is really just `1' when modules are > disabled, the compiler bitches. As these definitions are inlines in a > header file, this results in a warning for every file that includes > modules.h.
Miles,
You're the third or fourth person that sends a patch for this buglet, including myself. There's a (slightly different) version in Linus bitkeeper tree already, from Richard Henderson, 2003/01/02. -- Muli Ben-Yehuda
my opinions may seem crazy. But they all make sense. Insane sense, but sense nontheless. -- Shlomi Fish on #offtopic.
- 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/
|  |