mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
qla2x00t-32gbit: Report the firmware status code if a mailbox command fails
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8168 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -394,8 +394,12 @@ qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp)
|
||||
goto premature_exit;
|
||||
}
|
||||
|
||||
if (ha->mailbox_out[0] != MBS_COMMAND_COMPLETE)
|
||||
if (ha->mailbox_out[0] != MBS_COMMAND_COMPLETE) {
|
||||
ql_dbg(ql_dbg_mbx, vha, 0x11ff,
|
||||
"mb_out[0] = %#x <> %#x\n", ha->mailbox_out[0],
|
||||
MBS_COMMAND_COMPLETE);
|
||||
rval = QLA_FUNCTION_FAILED;
|
||||
}
|
||||
|
||||
/* Load return mailbox registers. */
|
||||
iptr2 = mcp->mb;
|
||||
|
||||
Reference in New Issue
Block a user