[openib-general] [PATCH] osm: fixing some comments
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Wed Oct 4 23:46:34 PDT 2006
Hi Hal
Just a couple of wrong comments that I found while reading the code.
Yevgeny
Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
Index: include/opensm/osm_port.h
===================================================================
--- include/opensm/osm_port.h (revision 9722)
+++ include/opensm/osm_port.h (working copy)
@@ -973,8 +973,7 @@ osm_physp_unlink(
* [in] Pointer to the adjacent osm_physp_t object to link.
*
* RETURN VALUES
-* Returns a pointer to the Physical Port on the other side of
-* the wire. A return value of NULL means there is no link at this port.
+* None.
*
* NOTES
*
Index: include/opensm/osm_port_info_rcv.h
===================================================================
--- include/opensm/osm_port_info_rcv.h (revision 9722)
+++ include/opensm/osm_port_info_rcv.h (working copy)
@@ -261,7 +261,7 @@ void osm_pi_rcv_process(
* that contains the node's PortInfo attribute.
*
* RETURN VALUES
-* CL_SUCCESS if the PortInfo processing was successful.
+* None.
*
* NOTES
* This function processes a PortInfo attribute.
More information about the general
mailing list