Remove possible reuse of stale pointer in aic7xxx
PATCH 1/1 Remove possible reuse of stale pointer in aic7xxx
Spotted with the source checker from Coverity.com.
Signed-off-by Dave Jones <[email protected]>
drivers/scsi/aic7xxx_old.c +1 -0
@@ -9243,6 +9243,7 @@ aic7xxx_detect(Scsi_Host_Template *templ {/* duplicate PCI entry, skip it */ kfree (temp_p); + temp_p =NULL ;continue ; } current_p = current_p->next;