kernel-hacking-2024-linux-s.../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
sym53c8xx.h [SCSI] sym53c8xx: Remove tag_ctrl module parameter 2007-10-23 15:11:57 -04:00
sym_defs.h
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
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
sym_misc.h
sym_nvram.c [SCSI] sym53c8xx: Remove ->device_id 2007-10-23 15:11:10 -04:00
sym_nvram.h