[openib-general] [PATCH] Opensm - change error to log

Yael Kalka yael at mellanox.co.il
Wed Sep 14 01:02:02 PDT 2005


Hi Hal,

The following is printed as error, but should be printed as info instead.
Attached is a patch for that.

Thanks,
Yael

Signed-off-by:  Yael Kalka <yael at mellanox.co.il>

Index: osm_vendor_ibumad.c
===================================================================
--- osm_vendor_ibumad.c (revision 3412)
+++ osm_vendor_ibumad.c (working copy)
@@ -565,8 +565,8 @@ osm_vendor_get_all_port_attr(
                lids[0] = def_port.base_lid;
                linkstates[0] = def_port.state;
 
-               osm_log( p_vend->p_log, OSM_LOG_ERROR,
-                               "osm_vendor_get_all_port_attr: ERR 5420: "
+               osm_log( p_vend->p_log, OSM_LOG_INFO,
+                               "osm_vendor_get_all_port_attr: "
                                "assign CA %s port %d guid (0x%"PRIx64") as the default port.\n",
                        def_port.ca_name, def_port.portnum,
                        cl_hton64(def_port.port_guid));




More information about the general mailing list