[openib-general] [PATCH] Opensm - osm_sa_path_record.c - variable declaration

Yael Kalka yael at mellanox.co.il
Mon Feb 6 02:00:19 PST 2006


Hi Hal,

There was an issue discussed a while ago regarding declaration of
several variables inside the function, in the code handling path
record for multicast. Declaration in the middle of the function
doesn't compile on windows, and in the past you said that the preffered
approach by you is to add parenthesis on the code handling the
multicast path records. This patch adds these parenthesis.

Thanks,
Yael

Signed-off-by:  Yael Kalka <yael at mellanox.co.il>

Index: opensm/osm_sa_path_record.c
===================================================================
--- opensm/osm_sa_path_record.c (revision 5307)
+++ opensm/osm_sa_path_record.c (working copy)
@@ -1753,7 +1753,7 @@ osm_pr_rcv_process(
   osm_log(p_rcv->p_log, OSM_LOG_DEBUG,
              "osm_pr_rcv_process: "
              "Multicast destination requested\n" );
-
+  {
   osm_mgrp_t *p_mgrp = NULL;
   ib_api_status_t status;
   osm_pr_item_t* p_pr_item;
@@ -1815,6 +1815,7 @@ osm_pr_rcv_process(
                "MC group attributes don't match PathRecord request\n" );
     }
   }
+  }
 
   /* Now, (finally) respond to the PathRecord request */
 




More information about the general mailing list