]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Quiet hvc_console console output on failed opens
authorOlof Johansson <olof@lixom.net>
Thu, 7 Sep 2006 20:18:08 +0000 (15:18 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 13 Sep 2006 08:39:53 +0000 (18:39 +1000)
commit9aaacce71dbc0725c3463405dd9cb016693eebb5
tree9b27b41d106e25ed8185a32db37b63f89df0220f
parent47a28c2637cda4db8aed5be18e52af63524ab3f3
[POWERPC] Quiet hvc_console console output on failed opens

No other tty driver will print on the console when the open of it fails.

On systems that happen to be configured for both ttyS0 and hvc0 console,
this will keep flooding the console output.  This is most likely to
happen with systems booted between with and without hypervisor from the
same filesystem.

Let's just remove it. When it's really needed (i.e. when the open fails
and someone is trying to debug it), noone will see the output anyway. And
init will report the opens failing in due time through the syslog.

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Ryan S. Arnold <rsa@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/char/hvc_console.c