commit | 6ac3b77a6ffff7513ff86b684aa256ea01c0e5b5 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Mar 25 01:48:08 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 25 20:14:40 2017 -0700 |
tree | 2ac956b31729a81f5d30a92ad640a709bd2d0297 | |
parent | 834a61d455ff8069552f44140b2c1de85e6bc84d [diff] |
irda: vlsi_ir: fix check for DMA mapping errors vlsi_alloc_ring() checks for DMA mapping errors by comparing 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: David S. Miller <davem@davemloft.net>