提交 97f1d8cd 编写于 作者: V Vasundhara Volam 提交者: David S. Miller

be2net: Modify error message to incorporate subsystem

Modify IOCTL error message to print subsystem also.
Signed-off-by: NVasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b7e5887e
...@@ -122,15 +122,15 @@ static int be_mcc_compl_process(struct be_adapter *adapter, ...@@ -122,15 +122,15 @@ static int be_mcc_compl_process(struct be_adapter *adapter,
goto done; goto done;
if (compl_status == MCC_STATUS_UNAUTHORIZED_REQUEST) { if (compl_status == MCC_STATUS_UNAUTHORIZED_REQUEST) {
dev_warn(&adapter->pdev->dev, "This domain(VM) is not " dev_warn(&adapter->pdev->dev,
"permitted to execute this cmd (opcode %d)\n", "opcode %d-%d is not permitted\n",
opcode); opcode, subsystem);
} else { } else {
extd_status = (compl->status >> CQE_STATUS_EXTD_SHIFT) & extd_status = (compl->status >> CQE_STATUS_EXTD_SHIFT) &
CQE_STATUS_EXTD_MASK; CQE_STATUS_EXTD_MASK;
dev_err(&adapter->pdev->dev, "Cmd (opcode %d) failed:" dev_err(&adapter->pdev->dev,
"status %d, extd-status %d\n", "opcode %d-%d failed:status %d-%d\n",
opcode, compl_status, extd_status); opcode, subsystem, compl_status, extd_status);
} }
} }
done: done:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册