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;