1
0
Fork 0
alistair23-linux/drivers/tty/hvc
Dan Carpenter fab794aeb6 tty: hvc_console: silence unintialized variable warning
If ->get_char() returns a negative error code and that can mean that
"ch" is uninitialized.  The callers of this function expect NO_POLL_CHAR
on error so let's return that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-30 09:26:55 -07:00
..
Kconfig
Makefile
hvc_bfin_jtag.c
hvc_console.c tty: hvc_console: silence unintialized variable warning 2016-04-30 09:26:55 -07:00
hvc_console.h
hvc_dcc.c
hvc_irq.c
hvc_iucv.c
hvc_opal.c
hvc_rtas.c
hvc_tile.c
hvc_udbg.c
hvc_vio.c drivers/tty: make hvc/hvc_vio.c explicitly non-modular 2016-02-06 23:26:43 -08:00
hvc_xen.c xen: features and fixes for 4.6-rc0 2016-03-22 12:55:17 -07:00
hvcs.c tty: Replace TTY_THROTTLED bit tests with tty_throttled() 2016-04-30 09:26:55 -07:00
hvsi.c tty: Replace TTY_THROTTLED bit tests with tty_throttled() 2016-04-30 09:26:55 -07:00
hvsi_lib.c