diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-12-06 19:57:37 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-02-12 10:36:52 +0100 |
commit | 7c79e1eef8c9a723e589364643c7e74b688e23bf (patch) | |
tree | 14dbba3ffb10615785668fdc988bf538cd8683e5 /arch/m68k/kernel/uboot.c | |
parent | m68k/sun3x: Modernize printing of kernel messages (diff) | |
download | linux-7c79e1eef8c9a723e589364643c7e74b688e23bf.tar.xz linux-7c79e1eef8c9a723e589364643c7e74b688e23bf.zip |
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>
Diffstat (limited to 'arch/m68k/kernel/uboot.c')
-rw-r--r-- | arch/m68k/kernel/uboot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/kernel/uboot.c b/arch/m68k/kernel/uboot.c index b3536a82a262..b29c3b241e1b 100644 --- a/arch/m68k/kernel/uboot.c +++ b/arch/m68k/kernel/uboot.c @@ -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) */ } |