TTY: serial/ifx6x60, initialize more
authorJiri Slaby <jslaby@suse.cz>
Thu, 31 Mar 2016 08:23:34 +0000 (10:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
commiteeeabba024191c810b83592578cfc6183c4059fa
tree9e1b9e530204eb606801f1c55c49f2bd67ac0289
parent91e74ca5e7ac4ec6c61b84d6618eb5e401f852f0
TTY: serial/ifx6x60, initialize more

In ifx_spi_complete, 'more' is not initialized. It is set only if the
status is clear and only if the header is parsed OK. If any of those
is not true, 'more' can be used uninitialized in that function later.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ifx6x60.c