mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
- 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:
parent
a9295e691b
commit
5e305bbdf6
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue