[openib-general] [PATCH][osm] commentary typos

Bernhard Fischer rep.nop at aon.at
Mon Jul 4 14:30:06 PDT 2005


Hi,

- commentary typos.

Signed-off-by: Bernhard Fischer <rep.nop at aon.at>

No obj-code changes.

thank you,
Bernhard
-------------- next part --------------
diff -X excl -rduNp gen2.2780.oorig/trunk/src/userspace/management/osm/include/opensm/osm_port.h gen2.2780/trunk/src/userspace/management/osm/include/opensm/osm_port.h
--- gen2.2780.oorig/trunk/src/userspace/management/osm/include/opensm/osm_port.h	2005-05-10 18:25:28.000000000 +0200
+++ gen2.2780/trunk/src/userspace/management/osm/include/opensm/osm_port.h	2005-07-04 21:09:50.000000000 +0200
@@ -391,7 +391,7 @@ osm_link_is_healthy(
 *
 * DESCRIPTION
 *	Sets the port health flag. TRUE means the port is healthy and 
-*  should eb used for packet routing. FALSE means it should be avoided.
+*  should be used for packet routing. FALSE means it should be avoided.
 *
 * SYNOPSIS
 */
diff -X excl -rduNp gen2.2780.oorig/trunk/src/userspace/management/osm/include/opensm/osm_switch.h gen2.2780/trunk/src/userspace/management/osm/include/opensm/osm_switch.h
--- gen2.2780.oorig/trunk/src/userspace/management/osm/include/opensm/osm_switch.h	2005-04-26 20:58:23.000000000 +0200
+++ gen2.2780/trunk/src/userspace/management/osm/include/opensm/osm_switch.h	2005-07-04 21:09:10.000000000 +0200
@@ -1128,12 +1128,12 @@ osm_switch_recommend_path(
 *     [in] The maximum allowed number of target lids routed through 
 *     a specific port of the switch. If the port already assigned 
 *     (in the lfdb) this number of target lids - it will not be used
-*     even if it has teh smallest hops count to teh target lid.
+*     even if it has the smallest hops count to the target lid.
 *
 *  ui_ucast_fdb_assign_func_defined
 *     [in] If TRUE - this means that there is a ui ucast_fdb_assign table
 *     function defined (in pfn_ui_ucast_fdb_assign in subnet opts). This
-*     Means that all current entries in the fdbs will be used.
+*     means that all current entries in the fdbs will be used.
 *     If FALSE - such function isn't defined. Do the minimum hop checks 
 *     before accepting the current fdbs.
 *
diff -X excl -rduNp gen2.2780.oorig/trunk/src/userspace/management/osm/include/vendor/osm_vendor_ts.h gen2.2780/trunk/src/userspace/management/osm/include/vendor/osm_vendor_ts.h
--- gen2.2780.oorig/trunk/src/userspace/management/osm/include/vendor/osm_vendor_ts.h	2005-04-26 20:58:29.000000000 +0200
+++ gen2.2780/trunk/src/userspace/management/osm/include/vendor/osm_vendor_ts.h	2005-07-04 21:07:07.000000000 +0200
@@ -115,7 +115,7 @@ typedef struct _osm_ts_bind_info
  *		the file handle to be used for sending the MADs
  *
  * hca_hndl
- *     Handle to the HCA provided by teh underlying VAPI
+ *     Handle to the HCA provided by the underlying VAPI
  *
  *	p_vend
  *		Pointer to the vendor object.
diff -X excl -rduNp gen2.2780.oorig/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_anafa.c gen2.2780/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_anafa.c
--- gen2.2780.oorig/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_anafa.c	2005-04-26 20:58:32.000000000 +0200
+++ gen2.2780/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_anafa.c	2005-07-04 21:05:23.000000000 +0200
@@ -515,7 +515,7 @@ osm_vendor_send (IN osm_bind_handle_t h_
 			/* Only the requestor expects the error callback */
 			p_bo->send_err_cb (p_bo->cb_context, p_madw);
 		} else {
-			/* put back teh mad - it is useless ... */
+			/* put back the mad - it is useless ... */
 			osm_mad_pool_put (p_bo->p_osm_pool, p_madw);
 		}
 	}
diff -X excl -rduNp gen2.2780.oorig/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx.c gen2.2780/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx.c
--- gen2.2780.oorig/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx.c	2005-04-26 20:58:32.000000000 +0200
+++ gen2.2780/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx.c	2005-07-04 21:12:12.000000000 +0200
@@ -533,7 +533,7 @@ osm_vendor_send(
     }
     else
     {
-      /* put back teh mad - it is useless ... */
+      /* put back the mad - it is useless ... */
       osm_mad_pool_put(p_bo->p_osm_pool, p_madw );
     }
   }
@@ -542,7 +542,7 @@ osm_vendor_send(
 
   osmv_txn_unlock(p_bo);
 
-  /* we need the ref to happen after the unlock to prevent distruct of the unlock spinlock */
+  /* we need the ref to happen after the unlock to prevent destruct of the unlock spinlock */
   cl_atomic_dec(&p_bo->ref_count);
 
   if (TRUE == p_bo->is_closing)
diff -X excl -rduNp gen2.2780.oorig/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_ibmgt.c gen2.2780/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_ibmgt.c
--- gen2.2780.oorig/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_ibmgt.c	2005-04-26 20:58:32.000000000 +0200
+++ gen2.2780/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_ibmgt.c	2005-07-04 20:59:24.000000000 +0200
@@ -235,7 +235,7 @@ osmv_transport_init(IN osm_bind_info_t *
       }
 
     }
-    /* insert to list of smi's - for raising callbaks later on */
+    /* insert to list of smi's - for raising callbacks later on */
     p_obj = cl_zalloc(sizeof(cl_list_obj_t));
     cl_qlist_set_obj(p_obj,p_bo);
     cl_qlist_insert_tail(p_tpot_info->p_smi_list,&p_obj->list_item);
@@ -281,7 +281,7 @@ osmv_transport_init(IN osm_bind_info_t *
       }
       cl_qlist_init(p_tpot_info->gsi_mgmt_lists[p_info->mad_class]);
     }
-    /* insert to list of smi's - for raising callbaks later on */
+    /* insert to list of smi's - for raising callbacks later on */
     p_obj = cl_zalloc(sizeof(cl_list_obj_t));
     cl_qlist_set_obj(p_obj,p_bo);
     cl_qlist_insert_tail(p_tpot_info->gsi_mgmt_lists[p_info->mad_class],&p_obj->list_item);
diff -X excl -rduNp gen2.2780.oorig/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_ts.c gen2.2780/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_ts.c
--- gen2.2780.oorig/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_ts.c	2005-05-26 11:47:54.000000000 +0200
+++ gen2.2780/trunk/src/userspace/management/osm/libvendor/osm_vendor_mlx_ts.c	2005-07-04 21:13:02.000000000 +0200
@@ -362,7 +362,7 @@ osmv_transport_mad_send(IN const osm_bin
 }
 
 /* 
-   register a new mad type to teh opened device file 
+   register a new mad type to the opened device file 
    and send a mad through - the main idea is to make 
    the filter catch it such that the read unblocks
 */
@@ -375,7 +375,7 @@ __osm_transport_gen_dummy_mad(osmv_bind_
   struct ib_get_port_info_ioctl port_data;
   int ts_ioctl_ret;
   
-  /* preapre teh mad fields following the stored filter on the bind */
+  /* prepare the mad fields following the stored filter on the bind */
   cl_memclr(&ts_mad, sizeof(ts_mad));
   ts_mad.format_version = 1;
   ts_mad.mgmt_class     = p_mgr->filter.mgmt_class;
diff -X excl -rduNp gen2.2780.oorig/trunk/src/userspace/management/osm/opensm/osm_trap_rcv.c gen2.2780/trunk/src/userspace/management/osm/opensm/osm_trap_rcv.c
--- gen2.2780.oorig/trunk/src/userspace/management/osm/opensm/osm_trap_rcv.c	2005-06-30 20:15:14.000000000 +0200
+++ gen2.2780/trunk/src/userspace/management/osm/opensm/osm_trap_rcv.c	2005-07-04 21:14:09.000000000 +0200
@@ -553,7 +553,7 @@ __osm_trap_rcv_process_request(
     {
       osm_log( p_rcv->p_log, OSM_LOG_VERBOSE,
                "__osm_trap_rcv_process_request: "
-               "Continuouslly received this trap %u times. Ignoring it.\n",
+               "Continuously received this trap %u times. Ignoring it.\n",
                num_received);
       goto Exit;
     }



More information about the general mailing list