mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
fa8584566c
Make the sym53c8xx_2 driver slave_alloc/destroy less unsafe. References to the destroyed LCB are cleared from the target structure (instead of leaving a dangling pointer), and when the last LCB for the target is destroyed the reference to the upper layer target data is cleared. The host lock is used to prevent a race with the interrupt handler. Also user commands are prevented for targets with all LCBs destroyed. Signed-off-by: Aaro Koskinen <Aaro.Koskinen@nokia.com> Tested-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> |
||
---|---|---|
.. | ||
Makefile | ||
sym53c8xx.h | ||
sym_defs.h | ||
sym_fw1.h | ||
sym_fw2.h | ||
sym_fw.c | ||
sym_fw.h | ||
sym_glue.c | ||
sym_glue.h | ||
sym_hipd.c | ||
sym_hipd.h | ||
sym_malloc.c | ||
sym_misc.h | ||
sym_nvram.c | ||
sym_nvram.h |