[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090201230931.6f154044@the-village.bc.nu>
Date: Sun, 1 Feb 2009 23:09:31 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Jiri Slaby <jirislaby@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] TTY: tty_io, lookup retval fixup
On Sun, 1 Feb 2009 22:39:16 +0100
Jiri Slaby <jirislaby@...il.com> wrote:
> Make sure we fail on NULL return value possibly returned by pty
> master lookup.
>
> Convert NULL to ERR_PTR(-ENODEV), since NULL is not captured by
> IS_ERR() in __tty_open.
Better to fix any broken functions I think
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists