[openib-general] [PATCH] osm: trivial data type change to remove compilation warning

2007-02-26 Thread Yevgeny Kliteynik
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 <[EMAIL PROTECTED]>
---
 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


___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



Re: [openib-general] [PATCH] osm: trivial data type change to remove compilation warning

2007-02-27 Thread Hal Rosenstock
On Mon, 2007-02-26 at 06:20, Yevgeny Kliteynik wrote: 
> 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 <[EMAIL PROTECTED]>

Thanks. Applied (to both master and ofed_1_2).

-- Hal


___
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general