[openib-general] [PATCH] osm: trivial data type change to remove compilation warning
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Mon Feb 26 03:20:06 PST 2007
Hi Hal
Trivial data type change to remove compilation warning.
Please apply to the trunk and to the 1.2 branch.
Thanks.
Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
osm/opensm/osm_ucast_updn.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/osm/opensm/osm_ucast_updn.c b/osm/opensm/osm_ucast_updn.c
index 8b86958..70ae10f 100644
--- a/osm/opensm/osm_ucast_updn.c
+++ b/osm/opensm/osm_ucast_updn.c
@@ -1005,8 +1005,8 @@ static void expand_lid_matrices_for_lmc(
cl_map_item_t *p_next_port, *p_next_sw;
osm_port_t *p_port;
osm_switch_t *p_sw;
- uint16_t lid, min_lid, max_lid, hops;
- uint8_t port, num_ports;
+ uint16_t lid, min_lid, max_lid;
+ uint8_t port, num_ports, hops;
p_next_port = cl_qmap_head( &p_subn->port_guid_tbl );
while (p_next_port != cl_qmap_end(&p_subn->port_guid_tbl)) {
--
1.4.4.1.GIT
More information about the general
mailing list