[PATCH 2/2] staging: dgap: unwind on error in dgap_found_board()

Dan Carpenter dan.carpenter at oracle.com
Thu May 29 09:20:00 UTC 2014


On Thu, May 29, 2014 at 06:11:09PM +0900, Daeseok Youn wrote:
> 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.

Yes.  Perfect.  Eventually BOARD_FAILED will be removed completely.

Reviewed-by: Dan Carpenter <dan.carpenter at oracle.com>

regards,
dan carpenter



More information about the devel mailing list