lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 27 Apr 2008 22:07:07 -0700
From"Chris Peterson" <>
SubjectRe: [PATCH] fix warning "control reaches end of non-void function" in arch/x86/kernel/vsmp_64.c
Hopefully this patch will be correctly formatted..?

chris


---
diff -Naur linux-2.6.25-git7/arch/x86/kernel/vsmp_64.c
linux-2.6.25-git7+patch/arch/x86/kernel/vsmp_64.c
--- linux-2.6.25-git7/arch/x86/kernel/vsmp_64.c 2008-04-25
22:46:17.000000000 -0700
+++ linux-2.6.25-git7+patch/arch/x86/kernel/vsmp_64.c   2008-04-25
23:32:32.000000000 -0700
@@ -133,7 +133,7 @@
        }
 }
 #else
-static int __init detect_vsmp_box(void)
+static void __init detect_vsmp_box(void)
 {
 }
 int is_vsmp_box(void)

\
 
 \ /
  Last update: 2008-04-28 07:09    [from the cache]
©2003-2008