From 57dfe9bfea600a373283b792e7ddc5f93738f889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Thu, 23 Mar 2023 17:52:06 +0100 Subject: [PATCH] Added comments --- src/Dmf_BusFilter.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Dmf_BusFilter.c b/src/Dmf_BusFilter.c index daf1bb0..3dc26e9 100644 --- a/src/Dmf_BusFilter.c +++ b/src/Dmf_BusFilter.c @@ -166,13 +166,13 @@ Return Value: { goto Exit; } - -#pragma warning(disable: 28150) + +#pragma warning(disable: 28150) // elevates to DISPATCH_LEVEL KeAcquireInStackQueuedSpinLock(&parentContext->ChildListLock, &handle); RemoveEntryList(&extension->ListEntry); KeReleaseInStackQueuedSpinLock(&handle); -#pragma warning(default: 28150) +#pragma warning(default: 28150) // drops to PASSIVE_LEVEL TraceVerbose(DMF_TRACE, "%!FUNC! called at %!irql!", KeGetCurrentIrql()); @@ -515,7 +515,7 @@ Return Value: goto Exit; } -#pragma warning(disable: 28150) +#pragma warning(disable: 28150) // elevates to DISPATCH_LEVEL KeAcquireInStackQueuedSpinLock(&parentContext->ChildListLock, &handle); @@ -533,7 +533,7 @@ Return Value: childExtension->IsExisting = FALSE; } - KeReleaseInStackQueuedSpinLock(&handle); + KeReleaseInStackQueuedSpinLock(&handle); // drops to PASSIVE_LEVEL #pragma warning(default: 28150) deviceRelations = (PDEVICE_RELATIONS)Irp->IoStatus.Information;