diff options
| author | Alexey Khoroshilov <[email protected]> | 2016-03-18 22:35:54 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2016-03-19 01:10:59 +0000 |
| commit | 5173cb814b36439a9d9537016965e75798b9f130 (patch) | |
| tree | 3c4111bb8f7e0217bf3e29b755f574045ae7571f /net/switchdev/switchdev.c | |
| parent | lightnvm: do not load L2P table if not supported (diff) | |
| download | kernel-5173cb814b36439a9d9537016965e75798b9f130.tar.gz kernel-5173cb814b36439a9d9537016965e75798b9f130.zip | |
mtip32xx: fix checks for dma mapping errors
exec_drive_taskfile() 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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
