lkml.org 
[lkml]   [2009]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] TTY: tty_io, lookup retval fixup
On Sun,  1 Feb 2009 22:39:16 +0100
Jiri Slaby <jirislaby@gmail.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


\
 
 \ /
  Last update: 2009-02-01 23:43    [W:0.038 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site