[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56B2551D.807@hurleysoftware.com>
Date: Wed, 3 Feb 2016 11:29:33 -0800
From: Peter Hurley <peter@...leysoftware.com>
To: Alexander Kuleshov <kuleshovmail@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
"Paul E . McKenney" <paulmck@...ux.vnet.ibm.com>,
Pranith Kumar <bobby.prani@...il.com>,
David Howells <dhowells@...hat.com>, Tejun Heo <tj@...nel.org>,
Johannes Weiner <hannes@...xchg.org>,
David Woodhouse <David.Woodhouse@...el.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] init: print warning message if /dev/console failed to
open
Hi Alexander,
On 02/03/2016 10:58 AM, Alexander Kuleshov wrote:
> Signed-off-by: Alexander Kuleshov <kuleshovmail@...il.com>
> ---
> init/do_mounts.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/init/do_mounts.c b/init/do_mounts.c
> index dea5de9..ca5da05 100644
> --- a/init/do_mounts.c
> +++ b/init/do_mounts.c
> @@ -505,7 +505,9 @@ void __init change_floppy(char *fmt, ...)
> termios.c_lflag |= ICANON;
> sys_ioctl(fd, TCSETSF, (long)&termios);
> sys_close(fd);
> - }
> + } else
> + pr_err("Warning: unable to open /dev/console.\n");
I think you should include the -fd error code as well.
Is this failure new?
Regards,
Peter Hurley
> +
> }
> #endif
>
>
Powered by blists - more mailing lists