[ofa-general] [PATCH] opensm/osm_port.c: Remove error number from debug level log message
Eli Dorfman (Voltaire)
dorfman.eli at gmail.com
Sat May 9 23:42:44 PDT 2009
Hal Rosenstock wrote:
> Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
> ---
> diff --git a/opensm/opensm/osm_port.c b/opensm/opensm/osm_port.c
> index 2e6c642..17bac73 100644
> --- a/opensm/opensm/osm_port.c
> +++ b/opensm/opensm/osm_port.c
> @@ -381,7 +381,7 @@ uint8_t osm_physp_calc_link_op_vls(IN osm_log_t * p_log,
> op_vls = p_subn->opt.max_op_vls;
>
> if (op_vls == 0) {
> - OSM_LOG(p_log, OSM_LOG_DEBUG, "ERR 4102: "
> + OSM_LOG(p_log, OSM_LOG_DEBUG,
> "Invalid OP_VLS = 0. Forcing correction to 1 (VL0)\n");
In this case I think that level should be changed to ERROR since this is not the normal behavior.
> op_vls = 1;
> }
More information about the general
mailing list