From ed95fa19f079465eccc5a055cad017eac6438d94 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 12 Nov 2017 14:31:20 +0100 Subject: [PATCH 1/1] [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 af41e5f5f70..c82d9d7feaa 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; } -- 2.17.1