staging: gasket: cleanup if dma_map_page fails in gasket_perform_mapping
authorNick Ewalt <nicholasewalt@google.com>
Mon, 17 Sep 2018 12:39:03 +0000 (05:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 11:22:01 +0000 (13:22 +0200)
commit863739bda25b2e08afce65caf2762f173e78f481
tree490a2553cfe567b338dddc8c92bc809df4baecbc
parentc3873a5c741f75847ae50a3f566fea2c171c1054
staging: gasket: cleanup if dma_map_page fails in gasket_perform_mapping

Previously pages would have never been unmapped in this case.

Signed-off-by: Nick Ewalt <nicholasewalt@google.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_page_table.c