OSDN Git Service

staging: dgnc: preserve return code
authorTobin C. Harding <me@tobin.cc>
Tue, 14 Mar 2017 23:44:29 +0000 (10:44 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:45:42 +0000 (11:45 +0900)
commitf15e60ce4ee90b713e1d84653c715dc8fa0d49ec
tree65d1ba8581f3cbd4b2e9f9abf89c8cf6e2cb96e9
parent9280b3a61ce006c803b616a922a635d04ffb040b
staging: dgnc: preserve return code

Return code from tty_check_change() should be being
preserved.

Preserve return code from call to tty_check_change().

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c