projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bdd638
)
IB/mad: Improve an error message so error code is included
author
Michael Heinz
<mheinz@qlogic.com>
Fri, 11 Feb 2011 21:44:30 +0000
(21:44 +0000)
committer
Roland Dreier
<roland@purestorage.com>
Fri, 18 Mar 2011 16:42:20 +0000
(09:42 -0700)
Signed-off-by: Michael Heinz <michael.heinz@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/agent.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/core/agent.c
b/drivers/infiniband/core/agent.c
index 91916a8d5de408b239050f614f86ed09d4717433..2bc7f5af64f4270b3f84d866822babaca34417dd 100644
(file)
--- a/
drivers/infiniband/core/agent.c
+++ b/
drivers/infiniband/core/agent.c
@@
-101,7
+101,8
@@
void agent_send_response(struct ib_mad *mad, struct ib_grh *grh,
agent = port_priv->agent[qpn];
ah = ib_create_ah_from_wc(agent->qp->pd, wc, grh, port_num);
if (IS_ERR(ah)) {
- printk(KERN_ERR SPFX "ib_create_ah_from_wc error\n");
+ printk(KERN_ERR SPFX "ib_create_ah_from_wc error %ld\n",
+ PTR_ERR(ah));
return;
}