m68k/kernel: Modernize printing of kernel messages
- Use pr_err_ratelimited() instead of deprecated printk_ratelimit(), - Add dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Correct printf()-style format specifiers. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
@@ -83,8 +83,7 @@ static void __init parse_uboot_commandline(char *commandp, int size)
|
||||
initrd_start = uboot_initrd_start;
|
||||
initrd_end = uboot_initrd_end;
|
||||
ROOT_DEV = Root_RAM0;
|
||||
printk(KERN_INFO "initrd at 0x%lx:0x%lx\n",
|
||||
initrd_start, initrd_end);
|
||||
pr_info("initrd at 0x%lx:0x%lx\n", initrd_start, initrd_end);
|
||||
}
|
||||
#endif /* if defined(CONFIG_BLK_DEV_INITRD) */
|
||||
}
|
||||
|
Reference in New Issue
Block a user