[NTOSKRNL] It is forbidden to call DbgPrint at DISPATCH_LEVEL with %wZ

This commit is contained in:
Pierre Schweitzer 2017-11-12 18:51:07 +01:00
parent 6c73385625
commit f88fe43abd
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -357,9 +357,8 @@ IopEditDeviceList(IN PDRIVER_OBJECT DriverObject,
/* Not this one, keep moving */ /* Not this one, keep moving */
if (!Previous->NextDevice) if (!Previous->NextDevice)
{ {
DPRINT1("Failed to remove PDO %p on driver %wZ (not found)\n", DPRINT1("Failed to remove PDO %p (not found)\n",
DeviceObject, DeviceObject);
&DeviceObject->DriverObject->DriverName);
ASSERT(FALSE); ASSERT(FALSE);
KeReleaseQueuedSpinLock(LockQueueIoDatabaseLock, OldIrql); KeReleaseQueuedSpinLock(LockQueueIoDatabaseLock, OldIrql);