mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] init/version.c: Silenced sparse warning by declaring the version string.
@ 2008-07-08 21:21 Daniel Guilak
  2008-07-09  1:10 ` Josh Triplett
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Daniel Guilak @ 2008-07-08 21:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: trivial, akpm, torvalds, daniel

Signed-off-by: Daniel Guilak <daniel@danielguilak.com>
---
 init/version.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/init/version.c b/init/version.c
index 9d17d70..041fd82 100644
--- a/init/version.c
+++ b/init/version.c
@@ -16,6 +16,7 @@
 #define version(a) Version_ ## a
 #define version_string(a) version(a)
 
+extern int version_string(LINUX_VERSION_CODE);
 int version_string(LINUX_VERSION_CODE);
 
 struct uts_namespace init_uts_ns = {
-- 
1.5.4.3



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-07-14 22:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-08 21:21 [PATCH] init/version.c: Silenced sparse warning by declaring the version string Daniel Guilak
2008-07-09  1:10 ` Josh Triplett
2008-07-11 19:18 ` Andrew Morton
2008-07-14 19:02   ` Daniel Guilak
2008-07-14 19:04 ` [PATCH] init/version.c: Define version_string only if CONFIG_KALLSYMS is not defined Daniel Guilak
2008-07-14 19:38   ` Randy Dunlap
2008-07-14 21:20     ` Daniel Guilak
2008-07-14 21:25       ` Daniel Guilak
2008-07-14 22:07       ` Randy Dunlap
2008-07-14 22:29         ` Daniel Guilak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome