commit | e0493627c32f7d04683c44d195c0f3e1fc4678d4 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Jan 16 00:45:34 2016 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Feb 23 21:27:02 2016 -0500 |
tree | 60284df089062d8641496e59f162e658e125d14d | |
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>