lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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    [W:0.040 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site