From a22bba6da1fbf6dcba4fd8b083065be51f5ca78e Mon Sep 17 00:00:00 2001 From: tzachid Date: Thu, 12 Oct 2006 07:56:07 +0000 Subject: [PATCH] [WSD] Fixed a typo introduced in checkin 511. git-svn-id: svn://openib.tc.cornell.edu/gen1@521 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/ulp/wsd/user/ibsp_mem.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/trunk/ulp/wsd/user/ibsp_mem.c b/trunk/ulp/wsd/user/ibsp_mem.c index ea05e46e..0361e2ce 100644 --- a/trunk/ulp/wsd/user/ibsp_mem.c +++ b/trunk/ulp/wsd/user/ibsp_mem.c @@ -339,6 +339,7 @@ ibsp_hca_flush_mr_cache( { struct memory_reg *p_reg; cl_list_item_t *p_item; + cl_list_item_t *p_item1; ib_api_status_t status; IBSP_ENTER( IBSP_DBG_MEM ); @@ -364,12 +365,12 @@ ibsp_hca_flush_mr_cache( * No need to remove from the list as we're about to free the * registration. */ - for( p_item = cl_qlist_head( &p_reg->node_list ); - p_item != cl_qlist_end( &p_reg->node_list ); - p_item = cl_qlist_next( p_item ) ) + for( p_item1 = cl_qlist_head( &p_reg->node_list ); + p_item1 != cl_qlist_end( &p_reg->node_list ); + p_item1 = cl_qlist_next( p_item1 ) ) { struct memory_node *p_node = - PARENT_STRUCT( p_item, struct memory_node, mr_item ); + PARENT_STRUCT( p_item1, struct memory_node, mr_item ); p_node->p_reg = NULL; } -- 2.41.0