From patchwork Thu Oct 28 18:28:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arlin Davis X-Patchwork-Id: 288152 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9SISYiK003391 for ; Thu, 28 Oct 2010 18:28:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934056Ab0J1S2d (ORCPT ); Thu, 28 Oct 2010 14:28:33 -0400 Received: from mga02.intel.com ([134.134.136.20]:18897 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934011Ab0J1S2d convert rfc822-to-8bit (ORCPT ); Thu, 28 Oct 2010 14:28:33 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 28 Oct 2010 11:28:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.58,253,1286175600"; d="scan'208";a="671913707" Received: from orsmsx602.amr.corp.intel.com ([10.22.226.211]) by orsmga001.jf.intel.com with ESMTP; 28 Oct 2010 11:28:27 -0700 Received: from orsmsx506.amr.corp.intel.com ([10.22.226.44]) by orsmsx602.amr.corp.intel.com ([10.22.226.211]) with mapi; Thu, 28 Oct 2010 11:28:27 -0700 From: "Davis, Arlin R" To: linux-rdma , "ofw@lists.openfabrics.org" CC: "Smith, Stan" Date: Thu, 28 Oct 2010 11:28:25 -0700 Subject: [PATCH] DAPL v2.0: common: print out errors on free build and not just debug builds Thread-Topic: [PATCH] DAPL v2.0: common: print out errors on free build and not just debug builds Thread-Index: Act2zejevWucNE3hT7m/xQe2fqIxrA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 28 Oct 2010 18:28:34 +0000 (UTC) diff --git a/dapl/openib_common/dapl_ib_common.h b/dapl/openib_common/dapl_ib_common.h index 10b5d22..3cb1fe3 100644 --- a/dapl/openib_common/dapl_ib_common.h +++ b/dapl/openib_common/dapl_ib_common.h @@ -336,10 +336,8 @@ dapl_convert_errno( IN int err, IN const char *str ) { if (!err) return DAT_SUCCESS; -#if DAPL_DBG if ((err != EAGAIN) && (err != ETIMEDOUT)) - dapl_dbg_log (DAPL_DBG_TYPE_ERR," %s %s\n", str, strerror(err)); -#endif + dapl_log (DAPL_DBG_TYPE_ERR," %s %s\n", str, strerror(err)); switch( err ) {