[ofw] [PATCH] DAPL v2.0: scm: change debug message level for listen/bind errors

Davis, Arlin R arlin.r.davis at intel.com
Wed Nov 2 14:34:48 PDT 2011


reduce to CM_WARN instead of general WARN level.

Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
 dapl/openib_scm/cm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dapl/openib_scm/cm.c b/dapl/openib_scm/cm.c
index b9cb1bc..b45a4ab 100644
--- a/dapl/openib_scm/cm.c
+++ b/dapl/openib_scm/cm.c
@@ -994,7 +994,7 @@ dapli_socket_listen(DAPL_IA * ia_ptr, DAT_CONN_QUAL serviceID, DAPL_SP * sp_ptr)
 		if (err == EADDRINUSE)
 			dat_status = DAT_CONN_QUAL_IN_USE;
 		else {
-			dapl_log(DAPL_DBG_TYPE_WARN,
+			dapl_log(DAPL_DBG_TYPE_CM_WARN,
 				 " listen: ERROR 0x%x %s on port %d\n",
 				 err, strerror(err), serviceID + 1000);
 			dat_status = DAT_INVALID_PARAMETER;
-- 
1.7.3






More information about the ofw mailing list