diff options
author | Alexey Khoroshilov <[email protected]> | 2016-04-16 02:12:29 +0300 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2016-04-29 19:01:34 -0400 |
commit | 1354379b13f190ae5da21c26836a16ba56566ab3 (patch) | |
tree | ad9d15c40db01702375fc7e8867327ec843368e2 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 71d397581d52c24c9903d9729aae09828f956801 (diff) |
mptsas: fix checks for dma mapping errors
mptsas_smp_handler() 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]>
Acked-by: Sathya Prakash Veerichetty <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions