Skip to content
Commit e0493627 authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Martin K. Petersen
Browse files

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: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: default avatarJitendra Bhivare <jitendra.bhivare@avagotech.com>
Acked-by: default avatarJitendra Bhivare <jitendra.bhivare@avagotech.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 1db1194f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment