[ofw] [PATCH] ibat_ex.h typo/fix

Smith, Stan stan.smith at intel.com
Tue Oct 11 15:55:41 PDT 2011


Be consistent in the definition of IbatexGetIpAddresses() between C++ & C defs plus how the function is actually coded.

Signed-off-by: stan smith <stan.smith at intel.com>

--- branches/mlx4/inc/user/iba/ibat_ex.h	Tue Oct 11 15:47:23 2011
+++ branches/mlx4/inc/user/iba/ibat_ex.h	Tue Oct 11 14:59:15 2011
@@ -132,7 +132,7 @@
 HRESULT
 IbatexGetIpAddresses(
 	__in const ULONGLONG PortGuid,
-	__in const ULONG *IPsSize,
+	__in const ULONG IPsSize,
 	__out IOCTL_IBAT_IP_ADDRESSES_OUT *pIPs
 	);
 
Please see rewrite of PrintIP.c which uses Ibatex* interfaces.

Stan.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PrintIp.c
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20111011/7ae316d2/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SOURCES
Type: application/octet-stream
Size: 423 bytes
Desc: SOURCES
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20111011/7ae316d2/attachment.obj>


More information about the ofw mailing list