commit | 2b053729a84b6aac197df51b8729bc9fec743bff | [log] [tgz] |
---|---|---|
author | Salyzyn, Mark <mark_salyzyn@adaptec.com> | Thu Aug 02 15:38:59 2007 -0400 |
committer | James Bottomley <jejb@mulgrave.localdomain> | Sat Aug 04 09:46:43 2007 -0500 |
tree | d7e709604787655345c155b81c24718ba2577e99 | |
parent | 2338545aafbecce55bbc651fb3f63ebf7468b6fb [diff] |
[SCSI] aacraid: prevent panic on adapter resource failure If the driver fails to allocate the contiguous (DMAable) memory for system reasons, we fail to load the instance, but then we try to free the <nul> allocation in the cleanup code and we get a panic in pci_free_consistent(). This is reported against an older kernel, hope this is relevant for latest/greatest. Signed-off-by: Mark Salyzyn <aacraid@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>