summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/usnic
diff options
context:
space:
mode:
authorNelson Escobar <neescoba@cisco.com>2015-12-09 10:42:14 -0800
committerDoug Ledford <dledford@redhat.com>2015-12-23 10:50:57 -0500
commit1e67a64e9c992b3b6811f41cd492722ef7247b80 (patch)
treed64f404d1fdd39c1646b4189f8d1a71d00e2e9cb /drivers/infiniband/hw/usnic
parent638e9707470f1bd3676dd5f06b52996a8dcb09f5 (diff)
downloadlinux-1e67a64e9c992b3b6811f41cd492722ef7247b80.tar.bz2
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>
Diffstat (limited to 'drivers/infiniband/hw/usnic')
-rw-r--r--drivers/infiniband/hw/usnic/usnic_debugfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/usnic/usnic_debugfs.c b/drivers/infiniband/hw/usnic/usnic_debugfs.c
index 5e55b8bc6fe4..92dc66cc2d50 100644
--- a/drivers/infiniband/hw/usnic/usnic_debugfs.c
+++ b/drivers/infiniband/hw/usnic/usnic_debugfs.c
@@ -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));
}
}