Re: [PATCH] fix warning "control reaches end of non-void function" in arch/x86/kernel/vsmp_64.c

From: Chris Peterson
Date: Mon Apr 28 2008 - 01:07:22 EST


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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/