Home
last modified time | relevance | path

Searched hist:"10 d258c51869916347adce4312e6fe41fa5144ad" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/serdev/
H A Dserdev-ttyport.cdiff 10d258c51869916347adce4312e6fe41fa5144ad Wed Feb 08 01:23:24 CST 2017 Dan Carpenter <dan.carpenter@oracle.com> serdev: ttyport: check whether tty_init_dev() fails

My static checker complains that we don't have any error handling here.
It's simple enough to add it.

Fixes: bed35c6dfa6a ("serdev: add a tty port controller driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>