diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2016-01-16 00:45:34 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-23 21:27:02 -0500 |
commit | e0493627c32f7d04683c44d195c0f3e1fc4678d4 (patch) | |
tree | 60284df089062d8641496e59f162e658e125d14d /drivers/scsi/qla2xxx | |
parent | 1db1194f1f6ebb6fef0f5d82d5025e049ccb77a1 (diff) |
be2iscsi: add checks for dma mapping errors
hwi_write_buffer() does not check if mapping dma memory succeed. The
patch adds the check and failure handling.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Jitendra Bhivare <jitendra.bhivare@avagotech.com>
Acked-by: Jitendra Bhivare <jitendra.bhivare@avagotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
0 files changed, 0 insertions, 0 deletions