mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
qla2x00t-32gbit: Always report the status code if a mailbox command fails
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8167 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -567,9 +567,9 @@ mbx_done:
|
||||
mcp->mb[0]);
|
||||
} else if (rval) {
|
||||
if (ql2xextended_error_logging & (ql_dbg_disc|ql_dbg_mbx)) {
|
||||
pr_warn("%s [%s]-%04x:%ld: **** Failed", QL_MSGHDR,
|
||||
pr_warn("%s [%s]-%04x:%ld: **** Failed=%x", QL_MSGHDR,
|
||||
dev_name(&ha->pdev->dev), 0x1020+0x800,
|
||||
vha->host_no);
|
||||
vha->host_no, rval);
|
||||
mboxes = mcp->in_mb;
|
||||
cnt = 4;
|
||||
for (i = 0; i < ha->mbx_count && cnt; i++, mboxes >>= 1)
|
||||
|
||||
@@ -272,9 +272,9 @@ premature_exit:
|
||||
|
||||
if (rval) {
|
||||
ql_log(ql_log_warn, base_vha, 0x1163,
|
||||
"**** Failed mbx[0]=%x, mb[1]=%x, mb[2]=%x, "
|
||||
"mb[3]=%x, cmd=%x ****.\n",
|
||||
mcp->mb[0], mcp->mb[1], mcp->mb[2], mcp->mb[3], command);
|
||||
"**** Failed=%x mbx[0]=%x, mb[1]=%x, mb[2]=%x, mb[3]=%x, cmd=%x ****.\n",
|
||||
rval, mcp->mb[0], mcp->mb[1], mcp->mb[2], mcp->mb[3],
|
||||
command);
|
||||
} else {
|
||||
ql_dbg(ql_dbg_mbx, base_vha, 0x1164, "Done %s.\n", __func__);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user