RE: [PATCH 3/4] aacraid: Check for unlikely errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



During adapter reset.

Sincerely -- Mark Salyzyn

> -----Original Message-----
> From: Christoph Hellwig [mailto:hch@xxxxxxxxxxxxx] 
> Sent: Friday, August 04, 2006 11:25 AM
> To: Mark Haverkamp
> Cc: James Bottomley; Salyzyn, Mark; linux-scsi
> Subject: Re: [PATCH 3/4] aacraid: Check for unlikely errors
> 
> 
> On Thu, Aug 03, 2006 at 08:03:07AM -0700, Mark Haverkamp wrote:
> > Received from Mark Salyzyn
> > 
> > The enclosed patch cleans up some code fragments, adds some paranoia
> > (unproven causes of potential driver failures). 
> > 
> > Signed-off-by: Mark Haverkamp <markh@xxxxxxxx>
> > ---
> > 
> > --- scsi-misc-aac.orig/drivers/scsi/aacraid/aachba.c	
> 2006-07-31 14:33:27.000000000 -0700
> > +++ scsi-misc-aac/drivers/scsi/aacraid/aachba.c	
> 2006-07-31 14:33:51.000000000 -0700
> > @@ -489,6 +489,8 @@
> >  	unsigned instance;
> >  
> >  	fsa_dev_ptr = dev->fsa_dev;
> > +	if (!fsa_dev_ptr)
> > +		return -ENOMEM;
> 
> How could this (and the fsa_dev_ptr in all other places) ever be null?
> 
> 
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux