Skip to content

Commit 018856c

Browse files
geertuhdeller
authored andcommitted
fbcon: Fix incorrect printed function name in fbcon_prepare_logo()
If the boot logo does not fit, a message is printed, including a wrong function name prefix. Instead of correcting the function name (or using __func__), just use "fbcon", like is done in several other messages. While at it, modernize the call by switching to pr_info(). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent e421946 commit 018856c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/video/fbdev/core/fbcon.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,7 @@ static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info,
631631

632632
if (logo_lines > vc->vc_bottom) {
633633
logo_shown = FBCON_LOGO_CANSHOW;
634-
printk(KERN_INFO
635-
"fbcon_init: disable boot-logo (boot-logo bigger than screen).\n");
634+
pr_info("fbcon: disable boot-logo (boot-logo bigger than screen).\n");
636635
} else {
637636
logo_shown = FBCON_LOGO_DRAW;
638637
vc->vc_top = logo_lines;

0 commit comments

Comments
 (0)