* re: [SCSI] mvsas: misc improvements
@ 2011-07-27 18:54 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2011-07-27 18:54 UTC (permalink / raw)
To: Xiangliang Yu; +Cc: linux-scsi
84fbd0cea11b80 "[SCSI] mvsas: misc improvements" introduces a
potential NULL dereference.
@@ -1375,6 +1385,7 @@ void mvs_dev_gone_notify(struct domain_device *dev)
mv_dprintk("found dev has gone.\n");
---> mvi_dev is NULL on this path.
}
dev->lldd_dev = NULL;
+ mvi_dev->sas_device = NULL;
---> we dereference it here.
spin_unlock_irqrestore(&mvi->lock, flags);
}
regards,
dan carpenter
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-27 18:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-27 18:54 [SCSI] mvsas: misc improvements Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.