projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8503842
)
[PCIIDEX] Properly handle unknown PNP IRPs. CORE-13944
132/head
author
Thomas Faber
<thomas.faber@reactos.org>
Sun, 12 Nov 2017 13:31:20 +0000
(14:31 +0100)
committer
Thomas Faber
<thomas.faber@reactos.org>
Tue, 21 Nov 2017 22:08:21 +0000
(23:08 +0100)
drivers/storage/ide/pciidex/pdo.c
patch
|
blob
|
history
diff --git
a/drivers/storage/ide/pciidex/pdo.c
b/drivers/storage/ide/pciidex/pdo.c
index
af41e5f
..
c82d9d7
100644
(file)
--- a/
drivers/storage/ide/pciidex/pdo.c
+++ b/
drivers/storage/ide/pciidex/pdo.c
@@
-428,8
+428,7
@@
PciIdeXPdoPnpDispatch(
{
DPRINT1("IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / Unknown type 0x%lx\n",
Stack->Parameters.QueryDeviceRelations.Type);
- ASSERT(FALSE);
- Status = STATUS_NOT_SUPPORTED;
+ Status = Irp->IoStatus.Status;
break;
}
}
@@
-526,7
+525,6
@@
PciIdeXPdoPnpDispatch(
/* We can't forward request to the lower driver, because
* we are a Pdo, so we don't have lower driver... */
DPRINT1("IRP_MJ_PNP / Unknown minor function 0x%lx\n", MinorFunction);
- ASSERT(FALSE);
Information = Irp->IoStatus.Information;
Status = Irp->IoStatus.Status;
}