Commit 1e67a64e authored by Nelson Escobar's avatar Nelson Escobar Committed by Doug Ledford

IB/usnic: Improve a failure message

Signed-off-by: default avatarNelson Escobar <neescoba@cisco.com>
Reviewed-by: default avatarDave Goodell <dgoodell@cisco.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 638e9707
...@@ -157,8 +157,9 @@ void usnic_debugfs_flow_add(struct usnic_ib_qp_grp_flow *qp_flow) ...@@ -157,8 +157,9 @@ void usnic_debugfs_flow_add(struct usnic_ib_qp_grp_flow *qp_flow)
qp_flow, qp_flow,
&flowinfo_ops); &flowinfo_ops);
if (IS_ERR_OR_NULL(qp_flow->dbgfs_dentry)) { if (IS_ERR_OR_NULL(qp_flow->dbgfs_dentry)) {
usnic_err("Failed to create dbg fs entry for flow %u\n", usnic_err("Failed to create dbg fs entry for flow %u with error %ld\n",
qp_flow->flow->flow_id); qp_flow->flow->flow_id,
PTR_ERR(qp_flow->dbgfs_dentry));
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment