scsi: qla2xxx: Report the firmware status code if a mailbox command fails
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:01:41 +0000 (20:01 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:06 +0000 (21:34 -0400)
commitb3e9772d9ec5aed081ed06b1431a52945dc37ccf
tree05c29d88aa3531c154f413ff77c204ae92b2d82e
parentac452b8e79320c9e90c78edf32ba2d42431e4daf
scsi: qla2xxx: Report the firmware status code if a mailbox command fails

It is helpful when debugging this driver to have the firmware status code
available if a mailbox command fails. Hence report that firmware status
code.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_mbx.c