diff options
| author | Adonais Romero Gonzalez <[email protected]> | 2022-09-26 16:04:27 -0700 |
|---|---|---|
| committer | Adonais Romero Gonzalez <[email protected]> | 2022-09-26 16:04:27 -0700 |
| commit | b6812b8d510dd8f23da7703506cb67cefc985533 (patch) | |
| tree | 83057821801d7f9a9c274834a973e9abd8c07aa0 /general | |
| parent | 78a4097df51c69947516fff09abf1444eebe70c2 (diff) | |
| parent | 239361d9ab5c4b2098896f7a29451b99b71d9063 (diff) | |
Merge branch 'main' into develop
Diffstat (limited to 'general')
| -rw-r--r-- | general/toaster/toastDrv/kmdf/toastmon/toastmon.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/general/toaster/toastDrv/kmdf/toastmon/toastmon.c b/general/toaster/toastDrv/kmdf/toastmon/toastmon.c index 5967d019..3e1a8caf 100644 --- a/general/toaster/toastDrv/kmdf/toastmon/toastmon.c +++ b/general/toaster/toastDrv/kmdf/toastmon/toastmon.c @@ -334,7 +334,11 @@ Routine Description: for (i = 0; i < count; i ++) { ioTarget = WdfCollectionGetItem(deviceExtension->TargetDeviceCollection, i); - WdfIoTargetStart(ioTarget); + NTSTATUS status = WdfIoTargetStart(ioTarget); + if (!NT_SUCCESS(status)) { + KdPrint(("WdfIoTargetStart failed: 0x%x\n", status)); + continue; + } targetDeviceInfo = GetTargetDeviceInfo(ioTarget); WdfTimerStart(targetDeviceInfo->TimerForPostingRequests, |
