From 58bb4b31bc47361751c965afbb1ea521f328ed37 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Tue, 31 Oct 2017 14:09:04 +0100 Subject: [PATCH] [STORPORT] Check status code of the call to PortFdoConnectInterrupt(). CORE-13866 --- drivers/storage/port/storport/fdo.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/storage/port/storport/fdo.c b/drivers/storage/port/storport/fdo.c index 3c49619b23e..92a5a7f9a1b 100644 --- a/drivers/storage/port/storport/fdo.c +++ b/drivers/storage/port/storport/fdo.c @@ -139,9 +139,13 @@ PortFdoStartMiniport( return Status; } - + /* Connect the configured interrupt */ Status = PortFdoConnectInterrupt(DeviceExtension); - + if (!NT_SUCCESS(Status)) + { + DPRINT1("PortFdoConnectInterrupt() failed (Status 0x%08lx)\n", Status); + return Status; + } /* Call the miniports HwInitialize function */ Status = MiniportHwInitialize(&DeviceExtension->Miniport);