[ofa-general] [PATCH] ibutils: drop unused parameter in OSM_LOG_ENTER macro

Sasha Khapyorsky sashak at voltaire.com
Sun Feb 17 12:12:48 PST 2008


This follows named OpenSM patch (in master only):

__func__ macro is used in the OSM_LOG_ENTER() to show an actual function
name, so the second parameter is not really useful here. OTOH it makes
it harder to grep over OpenSM source code, when searches are by function
names it generates a lot of unrelated matches.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---

Oren! This patch is for 'master' only (OpenSM doesn't have this change
in ofed_1_3 branch).

Sasha


 ibis/src/ibbbm.c             |   16 ++++++------
 ibis/src/ibcr.c              |   18 +++++++-------
 ibis/src/ibis.c              |    2 +-
 ibis/src/ibis_gsi_mad_ctrl.c |   16 ++++++------
 ibis/src/ibpm.c              |   20 ++++++++--------
 ibis/src/ibsac.c             |    4 +-
 ibis/src/ibsm.c              |   12 +++++-----
 ibis/src/ibvs.c              |   52 +++++++++++++++++++++---------------------
 8 files changed, 70 insertions(+), 70 deletions(-)

diff --git a/ibis/src/ibbbm.c b/ibis/src/ibbbm.c
index 5457c72..53341ab 100644
--- a/ibis/src/ibbbm.c
+++ b/ibis/src/ibbbm.c
@@ -81,7 +81,7 @@ ibbbm_construct()
 {
   ibbbm_t* p_ibbbm;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibbbm_construct );
+  OSM_LOG_ENTER(&(IbisObj.log));
  
   p_ibbbm = malloc(sizeof(ibbbm_t));
   if (p_ibbbm == NULL)
@@ -105,7 +105,7 @@ void
 ibbbm_destroy(
   IN ibbbm_t* const p_ibbbm )
 {
-  OSM_LOG_ENTER( &(IbisObj.log), ibbbm_destroy );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibbbm->state = IBBBM_STATE_INIT;
   cl_event_destroy(&p_ibbbm->wait_for_resp);
@@ -121,7 +121,7 @@ ibbbm_init(
 {
   ib_api_status_t status = IB_SUCCESS;
  
-  OSM_LOG_ENTER( &(IbisObj.log), ibbbm_init );
+  OSM_LOG_ENTER(&(IbisObj.log));
  
   cl_event_init(&p_ibbbm->wait_for_resp, FALSE); // FALSE: auto reset
   p_ibbbm->state = IBBBM_STATE_READY;
@@ -141,7 +141,7 @@ __ibbbm_space_rcv_callback(
   /* HACK : how do we get the context from the mad itself ??? */
   ibbbm_t* p_ibbbm = (ibbbm_t*)context;
 
-  OSM_LOG_ENTER( &(IbisObj.log), __ibbbm_space_rcv_callback);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   memcpy(&ibbbm_vpd_mad,p_madw->p_mad,sizeof(ib_bbm_vpd_t));
 
@@ -163,7 +163,7 @@ ibbbm_bind(
 {
   ib_api_status_t status;
  
-  OSM_LOG_ENTER( &(IbisObj.log), ibbbm_bind);
+  OSM_LOG_ENTER(&(IbisObj.log));
  
   status = ibis_gsi_mad_ctrl_bind(
     &(IbisObj.mad_ctrl),
@@ -213,7 +213,7 @@ __ibbbm_vpd(
   uint64_t              trans_id;
   uint16_t              bm_sequence;
 
-  OSM_LOG_ENTER( &(IbisObj.log),__ibbbm_vpd  );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   trans_id = ibis_get_tid();
   bm_sequence =(uint16_t)cl_atomic_inc(&p_ibbbm->bm_sequence);
@@ -289,7 +289,7 @@ ibbbm_read_vpd(
   uint64_t        trans_id;
   cl_status_t     wait_status;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibbbm_read_vpd );
+  OSM_LOG_ENTER(&(IbisObj.log));
  
   status = __ibbbm_vpd(p_ibbbm,lid,BBM_ATTR_READVPD,&trans_id,vpd_device_selector,bytes_num,offset,NULL);
  
@@ -336,7 +336,7 @@ ibbbm_write_vpd(
   uint64_t        trans_id;
   cl_status_t     wait_status;
 
-  OSM_LOG_ENTER( &(IbisObj.log),ibbbm_write_vpd );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   status = __ibbbm_vpd(p_ibbbm,lid,BBM_ATTR_WRITEVPD,&trans_id,vpd_device_selector,bytes_num,offset,p_data);
 
diff --git a/ibis/src/ibcr.c b/ibis/src/ibcr.c
index 3d8654e..13e4f28 100644
--- a/ibis/src/ibcr.c
+++ b/ibis/src/ibcr.c
@@ -63,7 +63,7 @@ ibcr_construct()
 {
   ibcr_t* p_ibcr;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibcr_construct );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibcr = malloc(sizeof(ibcr_t));
   if (p_ibcr == NULL)
@@ -85,7 +85,7 @@ void
 ibcr_destroy(
   IN ibcr_t* const p_ibcr )
 {
-  OSM_LOG_ENTER( &(IbisObj.log), ibcr_destroy );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibcr->state = IBCR_STATE_INIT;
 
@@ -100,7 +100,7 @@ ibcr_init(
 {
   ib_api_status_t status = IB_SUCCESS;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibcr_init );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibcr->state = IBCR_STATE_READY;
 
@@ -117,7 +117,7 @@ ibcr_bind(
 {
   ib_api_status_t status;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibcr_bind);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   status = ibis_gsi_mad_ctrl_bind(
     &(IbisObj.mad_ctrl),
@@ -174,7 +174,7 @@ __ibcr_prep_cr_mad(
   uint32_t              attr_mod=0;
   uint16_t              attr_id=0;
 
-  OSM_LOG_ENTER( &(IbisObj.log),__ibcr_prep_cr_mad  );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   attr_mod = (((address & 0x00ff0000) << 8) | (0x01 << 16) | (address & 0xffff));
 
@@ -222,7 +222,7 @@ ibcr_read(
   ib_api_status_t status;
   osm_madw_t     *p_madw_arr[1];
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibcr_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   /* prepare the mad */
   __ibcr_prep_cr_mad(
@@ -259,7 +259,7 @@ ibcr_write(
   ib_cr_space_t res_mad;
   osm_madw_t   *p_madw_arr[1];
 
-  OSM_LOG_ENTER( &(IbisObj.log),ibcr_write );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   __ibcr_prep_cr_mad(
     p_ibcr,
@@ -302,7 +302,7 @@ ibcr_multi_read(
   uint8_t i;
   osm_madw_t          *p_madw_arr[IBCR_MULTI_MAX];
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibcr_multi_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBCR_MULTI_MAX)
   {
@@ -348,7 +348,7 @@ ibcr_multi_write(
   osm_madw_t     *p_madw_arr[IBCR_MULTI_MAX];
   ib_cr_space_t   res_mads[IBCR_MULTI_MAX];
 
-  OSM_LOG_ENTER( &(IbisObj.log),ibcr_multi_write );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBCR_MULTI_MAX)
   {
diff --git a/ibis/src/ibis.c b/ibis/src/ibis.c
index 5d3c3aa..0684b32 100644
--- a/ibis/src/ibis.c
+++ b/ibis/src/ibis.c
@@ -200,7 +200,7 @@ ibis_get_ports_status(
   ib_api_status_t status;
   ib_port_attr_t attr_array[GUID_ARRAY_SIZE];
 
-  OSM_LOG_ENTER( &(IbisObj.log),  ibis_get_ports_status);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   *num_ports = GUID_ARRAY_SIZE;
   status = osm_vendor_get_all_port_attr(
diff --git a/ibis/src/ibis_gsi_mad_ctrl.c b/ibis/src/ibis_gsi_mad_ctrl.c
index a147642..356d33d 100644
--- a/ibis/src/ibis_gsi_mad_ctrl.c
+++ b/ibis/src/ibis_gsi_mad_ctrl.c
@@ -147,7 +147,7 @@ __ibis_gsi_mad_ctrl_disp_done_callback(
 {
   osm_madw_t* const p_madw = (osm_madw_t*)p_data;
 
-  OSM_LOG_ENTER( &(IbisObj.log), __ibis_gsi_mad_ctrl_disp_done_callback );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   CL_ASSERT( p_madw );
   /*
@@ -180,7 +180,7 @@ __ibis_gsi_mad_ctrl_process(
   cl_disp_reg_handle_t      h_disp = CL_DISP_INVALID_HANDLE;
   uint8_t                   mgmt_class;
 
-  OSM_LOG_ENTER( &(IbisObj.log), __ibis_gsi_mad_ctrl_process );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_mad = osm_madw_get_mad_ptr( p_madw );
 
@@ -286,7 +286,7 @@ __ibis_gsi_mad_ctrl_rcv_callback(
   ibis_gsi_mad_ctrl_t* p_ctrl = (ibis_gsi_mad_ctrl_t*)bind_context;
   ib_mad_t* p_mad;
 
-  OSM_LOG_ENTER( p_ctrl->p_log, __ibis_gsi_mad_ctrl_rcv_callback );
+  OSM_LOG_ENTER(p_ctrl->p_log);
 
   CL_ASSERT( p_madw );
 
@@ -330,7 +330,7 @@ __ibis_gsi_mad_ctrl_send_err_callback(
   ib_mad_t* p_mad;
   ibis_gsi_mad_ctrl_t* p_ctrl = (ibis_gsi_mad_ctrl_t*)bind_context;
 
-  OSM_LOG_ENTER( p_ctrl->p_log, __ibis_gsi_mad_ctrl_send_err_callback );
+  OSM_LOG_ENTER(p_ctrl->p_log);
 
   // TODO . General call_back for errors.
 
@@ -640,7 +640,7 @@ ibis_gsi_mad_ctrl_bind(
   osm_bind_info_t bind_info;
   ib_api_status_t status = IB_SUCCESS;
 
-  OSM_LOG_ENTER( p_ctrl->p_log, ibis_gsi_mad_ctrl_bind );
+  OSM_LOG_ENTER(p_ctrl->p_log);
 
   if( *p_h_bind != OSM_BIND_INVALID_HANDLE )
   {
@@ -707,7 +707,7 @@ ibis_gsi_mad_ctrl_set_class_attr_cb(
   ibis_gsi_cb_msg_pair_t *p_cb_msg_pair;
   cl_disp_reg_handle_t    disp_reg_hdl;
 
-  OSM_LOG_ENTER( p_ctrl->p_log, ibis_gsi_mad_ctrl_set_class_attr_cb );
+  OSM_LOG_ENTER(p_ctrl->p_log);
 
   mid = (cl_disp_msgid_t)cl_atomic_inc( &p_ctrl->msg_id);
 
@@ -840,7 +840,7 @@ ibis_gsi_sync_mad_batch_callback(
     ibis_gsi_mad_ctrl_t* const p_ctrl = p_batch_ctx->p_ctrl;
     uint8_t  *p_result;
     ib_mad_t *p_mad;
-    OSM_LOG_ENTER( p_ctrl->p_log, ibis_gsi_sync_mad_batch_callback);
+    OSM_LOG_ENTER(p_ctrl->p_log);
   
     /* obtain the lock */
     cl_spinlock_acquire(&p_batch_ctx->lock);
@@ -937,7 +937,7 @@ ibis_gsi_send_sync_mad_batch(
   cl_status_t                        wait_status;
   ib_api_status_t                    status;
 
-  OSM_LOG_ENTER( p_ctrl->p_log, ibis_gsi_send_sync_mad_batch);
+  OSM_LOG_ENTER(p_ctrl->p_log);
 
   /* initialize the batch context */
   p_batch_ctx = __gsi_new_mad_batch_context();
diff --git a/ibis/src/ibpm.c b/ibis/src/ibpm.c
index 0680deb..f7dd094 100644
--- a/ibis/src/ibpm.c
+++ b/ibis/src/ibpm.c
@@ -63,7 +63,7 @@ ibpm_construct()
 {
   ibpm_t* p_ibpm;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibpm_construct );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibpm = malloc(sizeof(ibpm_t));
   if (p_ibpm == NULL)
@@ -83,7 +83,7 @@ void
 ibpm_destroy(
   IN ibpm_t* const p_ibpm )
 {
-  OSM_LOG_ENTER( &(IbisObj.log), ibpm_destroy );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibpm->state = IBPM_STATE_INIT;
   OSM_LOG_EXIT( &(IbisObj.log) );
@@ -97,7 +97,7 @@ ibpm_init(
 {
   ib_api_status_t status = IB_SUCCESS;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibpm_init );
+  OSM_LOG_ENTER(&(IbisObj.log));
   p_ibpm->state = IBPM_STATE_INIT;
 
   OSM_LOG_EXIT( &(IbisObj.log) );
@@ -113,7 +113,7 @@ ibpm_bind(
 {
   ib_api_status_t status;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibpm_bind);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   status = ibis_gsi_mad_ctrl_bind(
     &(IbisObj.mad_ctrl),
@@ -163,7 +163,7 @@ __ibpm_prep_port_counter_mad(
   osm_mad_addr_t        mad_addr;
   osm_madw_t            *p_madw;
 
-  OSM_LOG_ENTER( &(IbisObj.log), __ibpm_prep_port_counter_mad  );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "__ibpm_prep_port_counter_mad: "
@@ -212,7 +212,7 @@ ibpm_get_counters(
 
   osm_madw_t          *p_madw_arr[1];
   ib_api_status_t      status;
-  OSM_LOG_ENTER( &(IbisObj.log), ibpm_get_counters );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   /* prepare the mad */
   __ibpm_prep_port_counter_mad(
@@ -252,7 +252,7 @@ ibpm_get_multi_counters(
   unsigned int          i;
   ib_api_status_t       status;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibpm_get_multi_counters );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBPM_MULTI_MAX)
   {
@@ -303,7 +303,7 @@ ibpm_get_multi_counters_extended(
   unsigned int          i;
   ib_api_status_t       status;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibpm_get_multi_counters );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBPM_MULTI_MAX)
   {
@@ -352,7 +352,7 @@ ibpm_clr_all_counters(
   osm_madw_t          *p_madw_arr[1];
   ib_api_status_t      status;
 
-  OSM_LOG_ENTER( &(IbisObj.log),ibpm_clr_all_counters );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   /* prepare the mad */
   __ibpm_prep_port_counter_mad(
@@ -398,7 +398,7 @@ ibpm_clr_all_multi_counters(
   ib_api_status_t      status;
   uint8_t              i;
 
-  OSM_LOG_ENTER( &(IbisObj.log),ibpm_clr_all_multi_counters );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBPM_MULTI_MAX)
   {
diff --git a/ibis/src/ibsac.c b/ibis/src/ibsac.c
index b8845a6..bdbfd8a 100644
--- a/ibis/src/ibsac.c
+++ b/ibis/src/ibsac.c
@@ -255,7 +255,7 @@ ibsac_query_res_cb( IN osmv_query_res_t * p_rec )
     ( ibsac_req_context_t * ) p_rec->query_context;
   ibis_t *const p_ibis = p_ctxt->p_ibis;
 
-  OSM_LOG_ENTER( &p_ibis->log, ibsac_query_res_cb );
+  OSM_LOG_ENTER(&p_ibis->log);
 
   p_ctxt->result = *p_rec;
 
@@ -290,7 +290,7 @@ ibsac_query( IN ibis_t *   const p_ibis,
   ibsac_req_context_t context;
   ibsac_req_context_t *p_context = &context;
 
-  OSM_LOG_ENTER( &p_ibis->log, ibsac_query );
+  OSM_LOG_ENTER(&p_ibis->log);
 
   if( osm_log_is_active( &p_ibis->log, OSM_LOG_DEBUG ) )
   {
diff --git a/ibis/src/ibsm.c b/ibis/src/ibsm.c
index eacd210..26fbbec 100644
--- a/ibis/src/ibsm.c
+++ b/ibis/src/ibsm.c
@@ -63,7 +63,7 @@ ibsm_construct()
 {
   ibsm_t* p_ibsm;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibsm_construct );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibsm = malloc(sizeof(ibsm_t));
   if (p_ibsm == NULL)
@@ -83,7 +83,7 @@ void
 ibsm_destroy(
   IN ibsm_t* const p_ibsm )
 {
-  OSM_LOG_ENTER( &(IbisObj.log), ibsm_destroy );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibsm->state = IBSM_STATE_INIT;
   OSM_LOG_EXIT( &(IbisObj.log) );
@@ -97,7 +97,7 @@ ibsm_init(
 {
   ib_api_status_t status = IB_SUCCESS;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibsm_init );
+  OSM_LOG_ENTER(&(IbisObj.log));
   p_ibsm->state = IBSM_STATE_INIT;
 
   OSM_LOG_EXIT( &(IbisObj.log) );
@@ -113,7 +113,7 @@ ibsm_bind(
 {
   ib_api_status_t status = IB_SUCCESS;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibsm_bind);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   /* no need to bind the Directed Route class as it will automatically
      be handled by the osm_vendor_bind if asked for LID route */
@@ -238,7 +238,7 @@ ibsm_send_mad_by_lid (
   ib_smp_t              response_mad = {0};
   ib_api_status_t       status;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibsm_send_mad_by_lid );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "ibsm_send_mad_by_lid: "
@@ -312,7 +312,7 @@ ibsm_send_mad_by_dr(
   ib_smp_t             *p_smp;
   ib_api_status_t       status;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibsm_send_mad_by_dr );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "ibsm_send_mad_by_dr: "
diff --git a/ibis/src/ibvs.c b/ibis/src/ibvs.c
index 2857278..b81ef78 100644
--- a/ibis/src/ibvs.c
+++ b/ibis/src/ibvs.c
@@ -63,7 +63,7 @@ ibvs_construct()
 {
   ibvs_t* p_ibvs;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_construct );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibvs = malloc(sizeof(ibvs_t));
   if (p_ibvs == NULL)
@@ -85,7 +85,7 @@ void
 ibvs_destroy(
   IN ibvs_t* const p_ibvs )
 {
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_destroy );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibvs->state = IBVS_STATE_INIT;
 
@@ -100,7 +100,7 @@ ibvs_init(
 {
   ib_api_status_t status = IB_SUCCESS;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_init );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   p_ibvs->state = IBVS_STATE_READY;
 
@@ -117,7 +117,7 @@ ibvs_bind(
 {
   ib_api_status_t status;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_bind);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   status = ibis_gsi_mad_ctrl_bind(
     &(IbisObj.mad_ctrl),
@@ -291,7 +291,7 @@ __ibvs_prep_ext_port_access_mad(
   osm_madw_t            *p_madw;
   uint8_t               i,dword_size;
 
-  OSM_LOG_ENTER( &(IbisObj.log),__ibvs_prep_ext_port_access_mad);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "__ibvs_prep_ext_port_access_mad: "
@@ -362,7 +362,7 @@ ibvs_cpu_read(
   osm_madw_t          *p_madw_arr[1];
   ib_api_status_t status;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_cpu_read);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   __ibvs_prep_ext_port_access_mad(
     p_ibvs,
@@ -405,7 +405,7 @@ ibvs_cpu_write(
   osm_madw_t     *p_madw_arr[1];
   ib_vs_t         res_mad;
 
-  OSM_LOG_ENTER( &(IbisObj.log),ibvs_cpu_write );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   __ibvs_prep_ext_port_access_mad(
     p_ibvs,
@@ -452,7 +452,7 @@ ibvs_i2c_read(
   ib_api_status_t status;
   osm_madw_t          *p_madw_arr[1];
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_i2c_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "ibvs_i2c_read: "
@@ -505,7 +505,7 @@ ibvs_multi_i2c_read(
   osm_madw_t     *p_madw_arr[IBVS_MULTI_MAX];
   uint16_t        i;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_multi_i2c_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBVS_MULTI_MAX)
   {
@@ -567,7 +567,7 @@ ibvs_i2c_write(
   osm_madw_t     *p_madw_arr[1];
   ib_vs_t         res_mad;
 
-  OSM_LOG_ENTER( &(IbisObj.log),ibvs_i2c_write );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   __ibvs_prep_ext_port_access_mad(
     p_ibvs,
@@ -613,7 +613,7 @@ ibvs_multi_i2c_write(
   uint8_t         i;
   osm_madw_t     *p_madw_arr[IBVS_MULTI_MAX];
 
-  OSM_LOG_ENTER( &(IbisObj.log),ibvs_multi_i2c_write );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBVS_MULTI_MAX)
   {
@@ -684,7 +684,7 @@ ibvs_gpio_read(
   ib_api_status_t status;
   osm_madw_t     *p_madw_arr[1];
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_gpio_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   __ibvs_prep_ext_port_access_mad(
     p_ibvs,
@@ -728,7 +728,7 @@ ibvs_gpio_write(
   osm_madw_t     *p_madw_arr[1];
   ib_vs_t        res_mad;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_gpio_write );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   __ibvs_prep_ext_port_access_mad(
     p_ibvs,
@@ -772,7 +772,7 @@ __ibvs_prep_sw_reset_mad(
   osm_mad_addr_t        mad_addr;
   osm_madw_t            *p_madw;
 
-  OSM_LOG_ENTER( &(IbisObj.log),__ibvs_prep_sw_reset_mad);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "__ibvs_prep_sw_reset_mad: "
@@ -806,7 +806,7 @@ ibvs_multi_sw_reset(
   osm_madw_t     *p_madw_arr[IBVS_MULTI_MAX];
   ib_vs_t         res_mads[IBVS_MULTI_MAX];
     
-  OSM_LOG_ENTER( &(IbisObj.log),ibvs_multi_sw_reset );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBVS_MULTI_MAX)
   {
@@ -869,7 +869,7 @@ __ibvs_prep_flash_access_mad(
   osm_madw_t            *p_madw;
   uint8_t               i,dword_size;
 
-  OSM_LOG_ENTER( &(IbisObj.log),__ibvs_prep_flash_access_mad);
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "__ibvs_prep_flash_access_mad: "
@@ -920,7 +920,7 @@ ibvs_multi_flash_open(
   osm_madw_t     *p_madw_arr[IBVS_MULTI_MAX];
   uint8_t         i;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_multi_flash_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBVS_MULTI_MAX)
   {
@@ -972,7 +972,7 @@ ibvs_multi_flash_close(
   osm_madw_t     *p_madw_arr[IBVS_MULTI_MAX];
   uint8_t         i;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_multi_flash_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBVS_MULTI_MAX)
   {
@@ -1025,7 +1025,7 @@ ibvs_multi_flash_set_bank(
   osm_madw_t     *p_madw_arr[IBVS_MULTI_MAX];
   uint8_t         i;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_multi_flash_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBVS_MULTI_MAX)
   {
@@ -1077,7 +1077,7 @@ ibvs_multi_flash_erase(
   osm_madw_t     *p_madw_arr[IBVS_MULTI_MAX];
   uint8_t         i;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_multi_flash_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBVS_MULTI_MAX)
   {
@@ -1129,7 +1129,7 @@ ibvs_multi_flash_read(
   osm_madw_t     *p_madw_arr[IBVS_MULTI_MAX];
   uint8_t         i;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_multi_flash_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBVS_MULTI_MAX)
   {
@@ -1182,7 +1182,7 @@ ibvs_multi_flash_write(
   osm_madw_t     *p_madw_arr[IBVS_MULTI_MAX];
   ib_vs_t         res_mads[IBVS_MULTI_MAX];
 
-  OSM_LOG_ENTER( &(IbisObj.log),ibvs_multi_flash_write );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   if (num > IBVS_MULTI_MAX)
   {
@@ -1246,7 +1246,7 @@ ibvs_mirror_read(
   ib_api_status_t status;
   osm_madw_t     *p_madw_arr[1];
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_mirror_read );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "ibvs_mirror_read: "
@@ -1296,7 +1296,7 @@ ibvs_mirror_write(
   osm_madw_t     *p_madw_arr[1];
   ib_vs_t        res_mad;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_mirror_write );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "ibvs_mirror_write: "
@@ -1348,7 +1348,7 @@ ibvs_plft_map_get(
   osm_madw_t      *p_madw_arr[1];
   uint32_t         attr_mod = 0;
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_plft_map_get );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "ibvs_plft_map_get: "
@@ -1405,7 +1405,7 @@ ibvs_general_info_get(
   ib_api_status_t status;
   osm_madw_t     *p_madw_arr[1];
 
-  OSM_LOG_ENTER( &(IbisObj.log), ibvs_general_info_get );
+  OSM_LOG_ENTER(&(IbisObj.log));
 
   osm_log(&(IbisObj.log), OSM_LOG_DEBUG,
           "ibvs_general_info_get: "
-- 
1.5.4.1.122.gaa8d




More information about the general mailing list