aha/drivers/scsi/sym53c8xx_2
Krzysztof Helt d9aa3af09c [SCSI] sym53c8xx: fixes two bugs related to chip reset
This patch fixes two bugs pointed by James Bottomley:

 1. the if (!sym_data->io_reset).  That variable is only ever filled
    by a stack based completion.  If we find it non empty it means
    this code has been entered twice and we have a severe problem,
    so that should just become a BUG_ON(sym_data->io_reset).
 2. sym_data->io_reset should be set to NULL before the routine is
    exited otherwise the PCI recovery code could end up completing
    what will be a bogus pointer into the stack.

Big thanks to James Bottomley for help with the patch.

Signed-off-by: Krzysztof Helt <krzysztof.h1@w.pl>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-01-23 11:29:25 -06:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sym53c8xx.h [SCSI] sym53c8xx: Remove tag_ctrl module parameter 2007-10-23 15:11:57 -04:00
sym_defs.h [SCSI] Version 2.2.3 2006-04-13 10:13:26 -05:00
sym_fw.c [SCSI] sym53c8xx: Remove pci_dev pointer from sym_shcb 2007-10-23 15:26:34 -04:00
sym_fw.h [SCSI] sym53c8xx: Remove pci_dev pointer from sym_shcb 2007-10-23 15:26:34 -04:00
sym_fw1.h Fix misspellings of "agressive". 2007-02-17 19:20:16 +01:00
sym_fw2.h Spelling fix: explicitly 2007-10-19 23:22:55 +02:00
sym_glue.c [SCSI] sym53c8xx: fixes two bugs related to chip reset 2008-01-23 11:29:25 -06:00
sym_glue.h [SCSI] sym53c8xx: Remove sym_xpt_async_sent_bdr 2007-10-23 15:26:56 -04:00
sym_hipd.c [SCSI] sym53c8xx: fix "irq X: nobody cared" regression 2007-12-18 16:04:09 -06:00
sym_hipd.h [SCSI] sym53c8xx: Remove pci_dev pointer from sym_shcb 2007-10-23 15:26:34 -04:00
sym_malloc.c [SCSI] sym2: Remove FreeBSD ifdefs 2005-12-13 18:11:27 -07:00
sym_misc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sym_nvram.c [SCSI] sym53c8xx: Remove ->device_id 2007-10-23 15:11:10 -04:00
sym_nvram.h [SCSI] sym2: Allow NVRAM settings to limit speed and width 2005-12-13 18:11:45 -07:00