mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:35:41 +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,
|
TargetId,
|
||||||
Lun);
|
Lun);
|
||||||
|
|
||||||
|
/* If returned LunExtension is NULL, break out */
|
||||||
|
if (!LunExtension) break;
|
||||||
|
|
||||||
/* This request should not be processed if */
|
/* This request should not be processed if */
|
||||||
if ((LunExtension->ReadyLun) ||
|
if ((LunExtension->ReadyLun) ||
|
||||||
(LunExtension->SrbInfo.Srb))
|
(LunExtension->SrbInfo.Srb))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue