[ofw] [Patch 51/62] Reference implementation of NDv2

Fab Tillier ftillier at microsoft.com
Wed Feb 20 20:57:10 PST 2013


Fix debug output in WinMad from "WINAMD" to "WINMAD"

Signed-off-by: Fab Tillier <ftillier at microsoft.com>

diff -dwup3 -X excl.txt -I ^ \*$ -I ^ \* \$ -r \dev\openib\Mellanox\10916\core\winmad\kernel\wm_driver.c .\core\winmad\kernel\wm_driver.c
--- \dev\openib\Mellanox\10916\core\winmad\kernel\wm_driver.c	Mon Sep 10 11:47:10 2012
+++ .\core\winmad\kernel\wm_driver.c	Mon Sep 10 16:26:51 2012
@@ -240,12 +240,12 @@ static VOID WmCreateControlDevice(WDFDRI
 
 	
 	WmDbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_ERROR_LEVEL,
-		"WINAMD: WmCreateControlDevice:  Device Create. ControlDevice = %p\n",  ControlDevice);
+		"WINMAD: WmCreateControlDevice:  Device Create. ControlDevice = %p\n",  ControlDevice);
 	ASSERT(ControlDevice != NULL);
 	status = WdfDeviceCreateSymbolicLink(ControlDevice, &symlink);
 	if (!NT_SUCCESS(status)) {
 		WmDbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_ERROR_LEVEL,
-			"WINAMD: WdfDeviceCreateSymbolicLink was failed. status=0x%x\n",  status);
+			"WINMAD: WdfDeviceCreateSymbolicLink was failed. status=0x%x\n",  status);
 		goto err2;
 	}
 
@@ -257,7 +257,7 @@ static VOID WmCreateControlDevice(WDFDRI
 							  WDF_NO_OBJECT_ATTRIBUTES, &queue);
 	if (!NT_SUCCESS(status)) {
 		WmDbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_ERROR_LEVEL,
-			"WINAMD: WdfIoQueueCreate was failed. status=0x%x\n",  status);
+			"WINMAD: WdfIoQueueCreate was failed. status=0x%x\n",  status);
 		goto err2;
 	}
 
@@ -269,7 +269,7 @@ err2:
 	ControlDevice = NULL;
 	
 	WmDbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_ERROR_LEVEL,
-		"WINAMD: WmCreateControlDevice:  ERROR set ControlDevice = %p\n",  ControlDevice);
+		"WINMAD: WmCreateControlDevice:  ERROR set ControlDevice = %p\n",  ControlDevice);
 	return;
 err1:
 	WdfDeviceInitFree(pinit);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndv2.51.patch
Type: application/octet-stream
Size: 1669 bytes
Desc: ndv2.51.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20130221/61efcbc9/attachment.obj>


More information about the ofw mailing list