WDK 6001: PREfast bug
- From: "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx>
- Date: Fri, 14 Mar 2008 15:58:21 +0300
Here is it. KeReleaseSpinLock was added temporarily to try to get rid of
PREfast warning. Unfortunately, this does not help, and a valid sequence of 2
MS's functions causes a warning:
// !!!
713 KeReleaseSpinLock(&(Disk->SpinLock), Irql);
714 IoCompleteRequest(Irp, IO_NO_INCREMENT);
vsnap.c(714) : warning 28192: No resource of the class 'SpinLock'
can be held when this function is called. 'Disk->SpinLock' is currently held.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
.
- Follow-Ups:
- Re: WDK 6001: PREfast bug
- From: 0dbell
- Re: WDK 6001: PREfast bug
- Prev by Date: Re: Problem with USB High Speed Hub
- Next by Date: Re: Problem with USB High Speed Hub
- Previous by thread: NdisMAllocateNetBufferSGList Question
- Next by thread: Re: WDK 6001: PREfast bug
- Index(es):