[ofw] [PATCH] osm_subnet.c

Smith, Stan stan.smith at intel.com
Thu Oct 1 14:35:01 PDT 2009


Set function return type to match that of cl_pfn_fmap_cmp_t to align with how the function is invoked.

Signed-off-by: stan smith <stan.smith at intel.com>

--- a/opensm/opensm/osm_subnet.c        2009-10-01 12:45:52.000000000 -0700
+++ b/opensm/opensm/osm_subnet.c        2009-10-01 14:24:18.000000000 -0700
@@ -397,7 +397,7 @@

 /**********************************************************************
  **********************************************************************/
-static long compar_mgids(const void *m1, const void *m2)
+static intn_t compar_mgids(const void *m1, const void *m2)
 {
        return memcmp(m1, m2, sizeof(ib_gid_t));
 }



More information about the ofw mailing list