[openib-general] [PATCH] osm: TRIVIAL wrong description in log message

Yevgeny Kliteynik kliteyn at gmail.com
Mon Aug 14 01:24:14 PDT 2006


Hi Hal,

Inspecting the log messages of the error flow in osm_vendor_send I have
noticed that the terms "request" and "response" are reversed:
If we are sending with response_expected it means we are sending our request...

Yevgeny

Signed-off-by:  Yevgeny Kliteynik < kliteyn at mellanox.co.il>

Index: osm/libvendor/osm_vendor_ibumad.c
===================================================================
--- osm/libvendor/osm_vendor_ibumad.c   (revision 8614)
+++ osm/libvendor/osm_vendor_ibumad.c   (working copy)
@@ -1148,7 +1156,7 @@ Resp:

        osm_log(p_vend->p_log, OSM_LOG_DEBUG, "osm_vendor_send: "
                "Completed sending %s p_madw = %p\n",
-               resp_expected ? "response" : "request", p_madw);
+               resp_expected ? "request" : "response", p_madw);
 Exit:
        OSM_LOG_EXIT( p_vend->p_log );
        return( ret );




More information about the general mailing list