[openib-general] Re: [PATCH] Opensm - fix error message

Hal Rosenstock halr at voltaire.com
Wed Feb 1 05:44:49 PST 2006


Hi Yael,

On Wed, 2006-02-01 at 04:11, Yael Kalka wrote:
> Hi Hal,
> 
> I saw that there is a problem with the printing of the error message
> in __osm_pi_rcv_process_switch_port - the link state printed is the
> state saved on the port, and not the state checked in the portInfo
> received.
> The attached patch fixes this.

Thanks. Applied.

-- Hal

> Thanks,
> Yael
> 
> 
> Signed-off-by:  Yael Kalka <yael at mellanox.co.il>
> 
> Index: opensm/osm_port_info_rcv.c
> ===================================================================
> --- opensm/osm_port_info_rcv.c  (revision 5204)
> +++ opensm/osm_port_info_rcv.c  (working copy)
> @@ -334,7 +334,7 @@ __osm_pi_rcv_process_switch_port(
>        osm_log( p_rcv->p_log, OSM_LOG_ERROR,
>                 "__osm_pi_rcv_process_switch_port: ERR 0F03: "
>                 "Unknown link state = %u, port = 0x%X\n",
> -               osm_physp_get_port_state( p_physp ),
> +               ib_port_info_get_port_state( p_pi ),
>                 p_pi->local_port_num );
>        break;
>      }
> 




More information about the general mailing list