[openib-general] [PATCH] osm: trivial osm_log missmatch on vendor mlx

Eitan Zahavi eitan at mellanox.co.il
Sat Dec 9 12:09:57 PST 2006


Hi Hal

This patch fixes some osm_log issues on the mlx vendor.

Signed-off-by:  Eitan Zahavi <eitan at mellanox.co.il>

---
 osm/libvendor/osm_vendor_mlx_dispatcher.c |    3 ++-
 osm/libvendor/osm_vendor_mlx_txn.c        |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/osm/libvendor/osm_vendor_mlx_dispatcher.c 
b/osm/libvendor/osm_vendor_mlx_dispatcher.c
index e8b47dd..7e3bd78 100644
--- a/osm/libvendor/osm_vendor_mlx_dispatcher.c
+++ b/osm/libvendor/osm_vendor_mlx_dispatcher.c
@@ -134,7 +134,8 @@ osmv_dispatch_mad(IN osm_bind_handle_t
   {

     osm_log(p_bo->p_vendor->p_log, OSM_LOG_DEBUG,
-            "The bind handle %p is being closed. The MAD will not be 
dispatched.\n");
+            "The bind handle %p is being closed. "
+            "The MAD will not be dispatched.\n", p_bo);

     ret = IB_INTERRUPTED;
     goto dispatch_mad_done;
diff --git a/osm/libvendor/osm_vendor_mlx_txn.c 
b/osm/libvendor/osm_vendor_mlx_txn.c
index 1fd262f..234e33b 100644
--- a/osm/libvendor/osm_vendor_mlx_txn.c
+++ b/osm/libvendor/osm_vendor_mlx_txn.c
@@ -631,7 +631,7 @@ __osmv_txn_timeout_cb(IN uint64_t key,

         osm_log(p_bo->p_vendor->p_log, OSM_LOG_DEBUG,
                 "__osmv_txn_timeout_cb: "
-                "Retry request timout in : %u [msec].\n",
+                "Retry request timout in : %lu [msec].\n",
                 next_timeout_ms);
       }
     }
--
1.4.4.1.GIT






More information about the general mailing list