IB/usnic: Improve a failure message

Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Reviewed-by: Dave Goodell <dgoodell@cisco.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Nelson Escobar 2015-12-09 10:42:14 -08:00 committed by Doug Ledford
parent 638e970747
commit 1e67a64e9c
1 changed files with 3 additions and 2 deletions

View File

@ -157,8 +157,9 @@ void usnic_debugfs_flow_add(struct usnic_ib_qp_grp_flow *qp_flow)
qp_flow,
&flowinfo_ops);
if (IS_ERR_OR_NULL(qp_flow->dbgfs_dentry)) {
usnic_err("Failed to create dbg fs entry for flow %u\n",
qp_flow->flow->flow_id);
usnic_err("Failed to create dbg fs entry for flow %u with error %ld\n",
qp_flow->flow->flow_id,
PTR_ERR(qp_flow->dbgfs_dentry));
}
}