prism54: fix checks for dma mapping errors
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 25 Dec 2015 22:42:41 +0000 (01:42 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 31 Dec 2015 08:23:32 +0000 (10:23 +0200)
commit49f2a47d913184b97ef84b2e4fd438dbee341487
tree0397f0834e9ea3fc761fc3db30fce2f602564c38
parente47301b06d5a65678690f04c2248fd181db1e59a
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>
drivers/net/wireless/intersil/prism54/islpci_dev.c
drivers/net/wireless/intersil/prism54/islpci_eth.c
drivers/net/wireless/intersil/prism54/islpci_mgt.c