summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjustanotheranonymoususer <[email protected]>2018-06-20 22:44:04 +0300
committerWei Mao <[email protected]>2018-06-20 12:44:04 -0700
commitbf3ce6a606412fcdafa3e63e86a0b0902f5d3bdd (patch)
treebaaf27a1a409df589971700cc75f1977fc243a1c
parentcb98c446eeb0908465e490ac4c7f2243be58a94c (diff)
Update filter.c (#233)
-rw-r--r--general/toaster/toastDrv/kmdf/filter/sideband/filter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/general/toaster/toastDrv/kmdf/filter/sideband/filter.c b/general/toaster/toastDrv/kmdf/filter/sideband/filter.c
index d018b58e..c6bd287b 100644
--- a/general/toaster/toastDrv/kmdf/filter/sideband/filter.c
+++ b/general/toaster/toastDrv/kmdf/filter/sideband/filter.c
@@ -102,7 +102,7 @@ Return Value:
KdPrint(("Toaster SideBand Filter Driver Sample - Driver Framework Edition.\n"));
//
- // Initiialize driver config to control the attributes that
+ // Initialize driver config to control the attributes that
// are global to the driver. Note that framework by default
// provides a driver unload routine. If you create any resources
// in the DriverEntry and want to be cleaned in driver unload,
@@ -216,7 +216,7 @@ Return Value:
//
// Tell the framework that you are filter driver. Framework
- // takes care of inherting all the device flags & characterstics
+ // takes care of inheriting all the device flags & characteristics
// from the lower device you are attaching to.
//
WdfFdoInitSetFilter(DeviceInit);
@@ -231,13 +231,13 @@ Return Value:
//
// We will just register for cleanup notification because we have to
// delete the control-device when the last instance of the device goes
- // away. If we don't delete, the driver wouldn't get unloaded automatcially
+ // away. If we don't delete, the driver wouldn't get unloaded automatically
// by the PNP subsystem.
//
deviceAttributes.EvtCleanupCallback = FilterEvtDeviceContextCleanup;
//
- // Create a framework device object.This call will inturn create
+ // Create a framework device object. This call will in turn create
// a WDM deviceobject, attach to the lower stack and set the
// appropriate flags and attributes.
//
@@ -586,7 +586,7 @@ Return Value:
PAGED_CODE();
- KdPrint(("Ioctl recieved into filter control object.\n"));
+ KdPrint(("Ioctl received into filter control object.\n"));
WdfWaitLockAcquire(FilterDeviceCollectionLock, NULL);