> From: James Bottomley [mailto:James.Bottomley@suse.de]
> Sent: Tuesday, January 04, 2011 10:25 AM
> To: Moger, Babu
> Cc: Dan Carpenter; Mike Snitzer; Menny Hamburger; linux-
> scsi@vger.kernel.org;
kernel-janitors@vger.kernel.org
> Subject: RE: [patch] [SCSI] scsi_dh: potential null dereference in
> scsi_dh_activate()
>
> On Tue, 2011-01-04 at 09:13 -0700, Moger, Babu wrote:
> > Looks good to me.
>
> It does? The first check is the bogus one, surely. The queue is
> created and destroyed by scsi_alloc_sdev(), so queuedata can never be
> NULL for a SCSI queue. There's no check anywhere in the rest of SCSI,
> so there shouldn't be one here, should there?