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
..
2007-10-17 08:42:52 -07:00
2007-10-29 17:27:50 -04:00
2007-10-16 09:43:09 -07:00
2008-01-11 18:29:22 -06:00
2007-12-12 13:45:25 +01:00
2008-01-11 11:42:07 -08:00
2008-01-11 18:29:22 -06:00
2007-12-31 23:11:11 +00:00
2007-11-29 09:24:53 -08:00
2007-12-12 20:01:00 +01:00
2007-12-23 12:54:37 -08:00
2007-12-17 19:28:15 -08:00
2007-10-17 08:42:57 -07:00
2008-01-11 18:29:22 -06:00
2008-01-11 11:47:43 -08:00
2007-11-14 18:45:36 -08:00
2007-12-04 16:48:06 +00:00
2007-10-23 15:49:54 +10:00