All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] opensm/osm_sa_portinfo_record.c: In pir_rcv_new_pir, fix switch port 0 physp
@ 2011-08-17 18:39 Hal Rosenstock
       [not found] ` <4E4C0AF4.6000400-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2011-08-17 18:39 UTC (permalink / raw)
  To: Alex Netes; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA


use requested rather than requesting port

Found and fixed by Daniel Klein <danielk-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>

Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 opensm/osm_sa_portinfo_record.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/osm_sa_portinfo_record.c b/opensm/osm_sa_portinfo_record.c
index e8631a1..6a2a520 100644
--- a/opensm/osm_sa_portinfo_record.c
+++ b/opensm/osm_sa_portinfo_record.c
@@ -109,7 +109,7 @@ static ib_api_status_t pir_rcv_new_pir(IN osm_sa_t * sa,
 		/* Does requested port have an extended link speed active ? */
 		if (osm_node_get_type(p_physp->p_node) ==
 		    IB_NODE_TYPE_SWITCH) {
-			p_physp0 = osm_node_get_physp_ptr(p_ctxt->p_req_physp->p_node, 0);
+			p_physp0 = osm_node_get_physp_ptr(p_physp->p_node, 0);
 			p_pi = &p_physp0->port_info;
 		} else
 			p_pi = (ib_port_info_t *) &p_physp->port_info;
-- 
1.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/3] opensm/osm_sa_portinfo_record.c: In pir_rcv_new_pir, fix switch port 0 physp
       [not found] ` <4E4C0AF4.6000400-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2011-08-31 10:37   ` Alex Netes
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Netes @ 2011-08-31 10:37 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hi Hal,

On 14:39 Wed 17 Aug     , Hal Rosenstock wrote:
> 
> use requested rather than requesting port
> 
> Found and fixed by Daniel Klein <danielk-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
> 
> Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-31 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-17 18:39 [PATCH 1/3] opensm/osm_sa_portinfo_record.c: In pir_rcv_new_pir, fix switch port 0 physp Hal Rosenstock
     [not found] ` <4E4C0AF4.6000400-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-08-31 10:37   ` Alex Netes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.