IB/isert: do not ignore errors in dma_map_single()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 21 Oct 2016 22:01:21 +0000 (01:01 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Dec 2016 17:51:31 +0000 (12:51 -0500)
commitdef4a6ffc9d178d6bb14178f56873c4831fb05a7
treef27046ccce27cbcbbfdb0c7132e58cf7ea1552de
parent35493294df1a1b06268a4e7b77b7a323772779f3
IB/isert: do not ignore errors in dma_map_single()

There are several places, where errors in dma_map_single() are
ignored. The patch fixes them.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/isert/ib_isert.c