From f86c55c9654da49d0bd401634cf679f410dfeb8d Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Thu, 29 May 2014 18:11:09 +0900 Subject: [PATCH] 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 Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed