[WSD] Fixed a typo introduced in checkin 511.
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 12 Oct 2006 07:56:07 +0000 (07:56 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 12 Oct 2006 07:56:07 +0000 (07:56 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@521 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/wsd/user/ibsp_mem.c

index ea05e46..0361e2c 100644 (file)
@@ -339,6 +339,7 @@ ibsp_hca_flush_mr_cache(
 {\r
        struct memory_reg       *p_reg;\r
        cl_list_item_t          *p_item;\r
+       cl_list_item_t          *p_item1;\r
        ib_api_status_t         status;\r
 \r
        IBSP_ENTER( IBSP_DBG_MEM );\r
@@ -364,12 +365,12 @@ ibsp_hca_flush_mr_cache(
                 * No need to remove from the list as we're about to free the\r
                 * registration.\r
                 */\r
-               for( p_item = cl_qlist_head( &p_reg->node_list );\r
-                       p_item != cl_qlist_end( &p_reg->node_list );\r
-                       p_item = cl_qlist_next( p_item ) )\r
+               for( p_item1 = cl_qlist_head( &p_reg->node_list );\r
+                       p_item1 != cl_qlist_end( &p_reg->node_list );\r
+                       p_item1 = cl_qlist_next( p_item1 ) )\r
                {\r
                        struct memory_node *p_node =\r
-                               PARENT_STRUCT( p_item, struct memory_node, mr_item );\r
+                               PARENT_STRUCT( p_item1, struct memory_node, mr_item );\r
 \r
                        p_node->p_reg = NULL;\r
                }\r