mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:05:52 +00:00
[KSFILTER]: We may need to check the result of KspScanBus call here. To see whether we need to do that, add an assert. If hit then we know KspScanBus can fail and some proper failure code will be needed.
svn path=/trunk/; revision=71287
This commit is contained in:
parent
2171daa6f5
commit
c716950d97
1 changed files with 3 additions and 1 deletions
|
@ -1124,7 +1124,9 @@ KspInstallBusEnumInterface(
|
|||
}
|
||||
|
||||
/* now scan the bus */
|
||||
KspScanBus(Context->BusDeviceExtension);
|
||||
Status = KspScanBus(Context->BusDeviceExtension);
|
||||
// FIXME: We may need to check for success here, and properly fail...
|
||||
ASSERT(NT_SUCCESS(Status));
|
||||
|
||||
/* acquire device entry lock */
|
||||
KeAcquireSpinLock(&Context->BusDeviceExtension->Lock, &OldLevel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue