mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
earlycon: Revert log warnings
Log warnings meant to help diagnose problems setting up earlycon are reporting false positives for 'console='. Revert to the previous behavior which reported nothing. Cc: Maciej W. Rozycki <macro@linux-mips.org> Cc: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5ebe6afaf0
commit
66c53aaa9c
1 changed files with 2 additions and 7 deletions
|
@ -187,13 +187,8 @@ static int __init param_setup_earlycon(char *buf)
|
|||
return 0;
|
||||
|
||||
err = setup_earlycon(buf);
|
||||
if (err == -ENOENT) {
|
||||
pr_warn("no match for %s\n", buf);
|
||||
err = 0;
|
||||
} else if (err == -EALREADY) {
|
||||
pr_warn("already registered\n");
|
||||
err = 0;
|
||||
}
|
||||
if (err == -ENOENT || err == -EALREADY)
|
||||
return 0;
|
||||
return err;
|
||||
}
|
||||
early_param("earlycon", param_setup_earlycon);
|
||||
|
|
Loading…
Reference in a new issue