[openib-general] [PATCH][TRIVIAL] Fix mad_ib.c build

Tom Duffy Tom.Duffy at Sun.COM
Fri Aug 13 14:07:21 PDT 2004


Index: drivers/infiniband/core/mad_ib.c
===================================================================
--- drivers/infiniband/core/mad_ib.c	(revision 643)
+++ drivers/infiniband/core/mad_ib.c	(working copy)
@@ -104,7 +104,7 @@
 		mad->dqpn ? IB_GSI_WELL_KNOWN_QKEY : 0;
 
 	pci_unmap_addr_set(&priv->send_buf[mad->port][mad->sqpn][index],
-			   mapping, gather_list.address);
+			   mapping, gather_list.addr);
 
 	if (ib_post_send(priv->qp[mad->port][mad->sqpn], &send_param, &bad_wr)) {
 		TS_REPORT_WARN(MOD_KERNEL_IB,
@@ -324,7 +324,7 @@
 
 	priv->receive_buf[port][qpn][index].buf = buf;
 	pci_unmap_addr_set(&priv->receive_buf[port][qpn][index],
-			   mapping, scatter_list.address);
+			   mapping, scatter_list.addr);
 
 	if (ib_post_recv(priv->qp[port][qpn], &receive_param, &bad_wr)) {
 		TS_REPORT_WARN(MOD_KERNEL_IB,





More information about the general mailing list