* [PATCH] boot_delay return value fix
@ 2013-11-03 12:27 Dave Young
0 siblings, 0 replies; only message in thread
From: Dave Young @ 2013-11-03 12:27 UTC (permalink / raw)
To: akpm, linux-kernel
Kernel report "Malformed early option boot_delay" because it returns non-zero
value. Move to 'return 0' now because there's no reason it should return 1.
Signed-off-by: Dave Young <dyoung@redhat.com>
---
Andrew, It's based on previous patch of changing to early_param.
Feel free to fold them if you want. If need I repost please just tell me.
kernel/printk/printk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.orig/kernel/printk/printk.c
+++ linux-2.6/kernel/printk/printk.c
@@ -820,7 +820,7 @@ static int __init boot_delay_setup(char
pr_debug("boot_delay: %u, preset_lpj: %ld, lpj: %lu, "
"HZ: %d, loops_per_msec: %llu\n",
boot_delay, preset_lpj, lpj, HZ, loops_per_msec);
- return 1;
+ return 0;
}
early_param("boot_delay", boot_delay_setup);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-11-03 12:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-03 12:27 [PATCH] boot_delay return value fix Dave Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).