Hi, The following patch prints the status itself. Thanks, Reuven. Index: hw/mthca/kernel/mt_verbs.c
===================================================================
--- hw/mthca/kernel/mt_verbs.c (revision 1047)
+++ hw/mthca/kernel/mt_verbs.c (working copy)
@@ -56,7 +56,6 @@
int err;
ib_api_status_t status;
struct ib_ucontext *context_p = (struct ib_ucontext *)h_um_ca;
- PREP_IBDEV_FOR_PRINT(context_p->device);
HCA_ENTER(HCA_DBG_SHIM);
@@ -95,7 +94,7 @@
if (status != IB_SUCCESS)
{
HCA_PRINT(TRACE_LEVEL_ERROR,HCA_DBG_SHIM,
- ("completes with ERROR status %s\n",
IB_GET_ERR_STR(status)));
+ ("completes with ERROR status %x\n", status));
}
HCA_EXIT(HCA_DBG_SHIM);
return;
simple_print.patch
Description: simple_print.patch
_______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
