diff options
| author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2015-12-26 01:42:41 +0300 | 
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2015-12-31 10:23:32 +0200 | 
| commit | 49f2a47d913184b97ef84b2e4fd438dbee341487 (patch) | |
| tree | 0397f0834e9ea3fc761fc3db30fce2f602564c38 /net/switchdev/switchdev.c | |
| parent | e47301b06d5a65678690f04c2248fd181db1e59a (diff) | |
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
