summaryrefslogtreecommitdiff
path: root/block/t10-pi.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2015-12-25 22:42:41 (GMT)
committerKalle Valo <kvalo@codeaurora.org>2015-12-31 08:23:32 (GMT)
commit49f2a47d913184b97ef84b2e4fd438dbee341487 (patch)
tree0397f0834e9ea3fc761fc3db30fce2f602564c38 /block/t10-pi.c
parente47301b06d5a65678690f04c2248fd181db1e59a (diff)
downloadlinux-49f2a47d913184b97ef84b2e4fd438dbee341487.tar.xz
prism54: fix checks for dma mapping errors
prism54 checks for dma mapping errors by comparison returned address with zero, while pci_dma_mapping_error() should be used. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions