- Undo one "fix" from 38075. Coverity warned you about possible double check of the same pointer (though in || you probably can't go without it), but one check should definately stay! SpiGetLunExtension can return NULL!

svn path=/trunk/; revision=38076
This commit is contained in:
Aleksey Bragin 2008-12-14 11:59:21 +00:00
parent a9295e691b
commit 5e305bbdf6

View file

@ -1957,6 +1957,9 @@ ScsiPortNotification(IN SCSI_NOTIFICATION_TYPE NotificationType,
TargetId,
Lun);
/* If returned LunExtension is NULL, break out */
if (!LunExtension) break;
/* This request should not be processed if */
if ((LunExtension->ReadyLun) ||
(LunExtension->SrbInfo.Srb))