Signed-off-by: Hal Rosenstock <[email protected]>
---
diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c
index 554a950..e57bc92 100644
--- a/opensm/osm_subnet.c
+++ b/opensm/osm_subnet.c
@@ -1077,8 +1077,7 @@ static void subn_verify_sl2vl(char **sl2vl, const char 
*prefix)
        if (count < 16)
                log_report(" Warning: Cached Option %s_sl2vl: < 16 VLs "
                           "listed\n", prefix);
-
-       if (count > 16)
+       else if (count > 16)
                log_report(" Warning: Cached Option %s_sl2vl: > 16 listed: "
                           "excess VLs will be dropped\n", prefix);
 
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to