Re: [patch] TTY: tty_alloc_driver() returns error pointers

From: Jiri Slaby
Date: Thu Aug 16 2012 - 09:56:42 EST


On 08/16/2012 03:16 PM, Dan Carpenter wrote:
> We changed these from alloc_tty_driver() to tty_alloc_driver() so the
> error handling needs to modified to check for IS_ERR() instead of NULL.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Shame.

Acked-by: Jiri Slaby <jslaby@xxxxxxx>

thanks,
--
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/