mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 12:48:40 +00:00
[NTOS:IO] Do not raise an unknown bugcheck inside the PiQueueDeviceAction
This commit is contained in:
parent
acd07e725e
commit
dc1d717b22
1 changed files with 1 additions and 6 deletions
|
@ -2478,12 +2478,7 @@ PiQueueDeviceAction(
|
||||||
PDEVICE_ACTION_REQUEST Request;
|
PDEVICE_ACTION_REQUEST Request;
|
||||||
KIRQL OldIrql;
|
KIRQL OldIrql;
|
||||||
|
|
||||||
Request = ExAllocatePoolWithTag(NonPagedPool, sizeof(*Request), TAG_IO);
|
Request = ExAllocatePoolWithTag(NonPagedPoolMustSucceed, sizeof(*Request), TAG_IO);
|
||||||
if (!Request)
|
|
||||||
{
|
|
||||||
KeBugCheckEx(PNP_DETECTED_FATAL_ERROR, 0x3, 0, 0, 0);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
DPRINT("PiQueueDeviceAction: DeviceObject - %p, Request - %p, Action - %s\n",
|
DPRINT("PiQueueDeviceAction: DeviceObject - %p, Request - %p, Action - %s\n",
|
||||||
DeviceObject, Request, ActionToStr(Action));
|
DeviceObject, Request, ActionToStr(Action));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue