]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kernel/printk/printk.c: boot_delay return value fix
authorDave Young <dyoung@redhat.com>
Tue, 5 Nov 2013 05:56:14 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:14 +0000 (16:56 +1100)
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/printk/printk.c

index 6b16cdf752741ba331fb7c451e8918dbdbccb84d..9b527d41f8f17b9a6eb68452552e632d9286010f 100644 (file)
@@ -820,7 +820,7 @@ static int __init boot_delay_setup(char *str)
        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);