[ofw] [PATCH] use transportable constant attributes

Stan C. Smith stan.smith at intel.com
Wed Oct 7 09:32:57 PDT 2009


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

diff --git a/opensm/libvendor/osm_vendor_ibumad.c b/opensm/libvendor/osm_vendor_ibumad.c
index e5f0c54..8d3c680 100644
--- a/opensm/libvendor/osm_vendor_ibumad.c
+++ b/opensm/libvendor/osm_vendor_ibumad.c
@@ -126,7 +126,7 @@ Exit:
 static osm_madw_t *get_madw(osm_vendor_t * p_vend, ib_net64_t * tid)
 {
 	umad_match_t *m, *e;
-	ib_net64_t mtid = (*tid & CL_HTON64(0x00000000ffffffffllu));
+	ib_net64_t mtid = (*tid & CL_HTON64(0x00000000ffffffffULL));
 	osm_madw_t *res;
 
 	/*




More information about the ofw mailing list