]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] aacraid: prevent panic on adapter resource failure
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>
Thu, 2 Aug 2007 19:38:59 +0000 (15:38 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Sat, 4 Aug 2007 14:46:43 +0000 (09:46 -0500)
commitda6496741e536d093d719febc6643f6a2689eed6
treed7e709604787655345c155b81c24718ba2577e99
parent2e4bbf5ffcb3841afb238ad93bcbaa9391e5a951
[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>
drivers/scsi/aacraid/linit.c