commit | f86c55c9654da49d0bd401634cf679f410dfeb8d | [log] [tgz] |
---|---|---|
author | Daeseok Youn <daeseok.youn@gmail.com> | Thu May 29 18:11:09 2014 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 19 15:19:06 2014 -0700 |
tree | c935b5d501114141ebf4865cae716de9645a4cd2 | |
parent | 836bf241d8062490698e9238e805f7847f3fb179 [diff] |
staging: dgap: unwind on error in dgap_found_board() Adds a label for "kfree(brd)". And also remove a state value as BOARD_FAILED in brd when dgap_do_remap() is failed. Because "brd" will free after failure. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>