projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f80095f
)
[NTOS:PNP]
author
Thomas Faber
<thomas.faber@reactos.org>
Sun, 2 Apr 2017 14:41:17 +0000
(14:41 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sun, 2 Apr 2017 14:41:17 +0000
(14:41 +0000)
- Silence debug prints about unhandled IRP_MN_QUERY_PNP_DEVICE_STATE
svn path=/trunk/; revision=74267
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
b/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
index
ee4d66d
..
ae01b16
100644
(file)
--- a/
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
+++ b/
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
@@
-4126,7
+4126,10
@@
IoInvalidateDeviceState(IN PDEVICE_OBJECT PhysicalDeviceObject)
Status = IopSynchronousCall(PhysicalDeviceObject, &Stack, (PVOID*)&PnPFlags);
if (!NT_SUCCESS(Status))
{
- DPRINT1("IRP_MN_QUERY_PNP_DEVICE_STATE failed with status 0x%x\n", Status);
+ if (Status != STATUS_NOT_SUPPORTED)
+ {
+ DPRINT1("IRP_MN_QUERY_PNP_DEVICE_STATE failed with status 0x%lx\n", Status);
+ }
return;
}