lkml.org 
[lkml]   [2003]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

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