staging: gasket: page table: use dma_mapping_error for error detection
authorTodd Poynor <toddpoynor@google.com>
Fri, 10 Aug 2018 03:21:03 +0000 (20:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:43:43 +0000 (19:43 +0200)
commit6c258edc64ae3d655a37abb773c21492a5196bf2
tree26b90075840cb48f80e34237fcb7b4ab2d83ae39
parent1fdd6d720cdc31b569189f6c534250b9deb1152d
staging: gasket: page table: use dma_mapping_error for error detection

gasket_perform_mapping() call dma_mapping_error() to determine if
mapping failed.

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