]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dgap: check unchecked return values
authorMark Hounschell <markh@compro.net>
Fri, 25 Apr 2014 17:10:18 +0000 (13:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 19:18:24 +0000 (12:18 -0700)
commit84a966b0a4255242a275e30a647230e21d87a109
tree734aeb52da19c7e2e0327553ed6b05baef2a64f8
parent99d4eaf725c3e064cc20d4eaf6d03f2cf58e96dc
staging: dgap: check unchecked return values

Check the return values of dgap_tty_register and
dgap_finalize_board_init. If they fail for a
particular board we should not be able to try
to use that board. IE. no device entries shall
be created for that board.

Signed-off-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c