Home
last modified time | relevance | path

Searched hist:c6b4ee9eba97b64750d5e8be31c04b70592592b7 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/tty/
H A Dvcc.cdiff c6b4ee9eba97b64750d5e8be31c04b70592592b7 Sat Aug 26 08:12:05 CEST 2017 Dan Carpenter <dan.carpenter@oracle.com> sparc64: vcc: Check for IS_ERR() instead of NULL

The tty_alloc_driver() function never returns NULL, it returns error
pointers on error.

Fixes: ce808b746325 ("sparc64: vcc: TTY driver initialization and cleanup")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>