https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ed95fa19f079465eccc5a0...
commit ed95fa19f079465eccc5a055cad017eac6438d94 Author: Thomas Faber thomas.faber@reactos.org AuthorDate: Sun Nov 12 14:31:20 2017 +0100
[PCIIDEX] Properly handle unknown PNP IRPs. CORE-13944 --- drivers/storage/ide/pciidex/pdo.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/storage/ide/pciidex/pdo.c b/drivers/storage/ide/pciidex/pdo.c index af41e5f5f7..c82d9d7fea 100644 --- 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; }