android_kernel_xiaomi_sm8350/drivers/scsi/aic7xxx
Hannes Reinecke a2f5bfcf71 [SCSI] aic7xxx: leaves timer running on init failure
aic79xx leaves timers inserted when ahd_init() (which inserts
two timers at its very end) succeeds but ahd_pci_map_int()
fails. In this case ahd->init_level gets incremented to 5 only
when that function succeeds, but ahd_free() calls ahd_shutdown()
only when ahd->init_level == 5, and ahd_shutdown() is where the
timers get removed. Since the freeing of the IRQ is not controlled
by ahd->init_level, we should increment init_level prior to
calling ahd_pci_map_int().

Reported-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-04-03 09:22:55 -05:00
..
aicasm
.gitignore
aic7xxx_93cx6.c
aic7xxx_93cx6.h
aic7xxx_core.c [SCSI] aic7xxx: Take the LED out of diagnostic mode on PM resume 2008-10-23 11:42:16 -05:00
aic7xxx_inline.h
aic7xxx_osm_pci.c
aic7xxx_osm.c
aic7xxx_osm.h
aic7xxx_pci.c [SCSI] aic7xxx: leaves timer running on init failure 2009-04-03 09:22:55 -05:00
aic7xxx_pci.h
aic7xxx_proc.c
aic7xxx_reg_print.c_shipped [SCSI] aic7xxx: update *_shipped files 2008-10-23 11:42:12 -05:00
aic7xxx_reg.h_shipped [SCSI] aic7xxx: update *_shipped files 2008-10-23 11:42:12 -05:00
aic7xxx_seq.h_shipped
aic7xxx.h
aic7xxx.reg
aic7xxx.seq
aic79xx_core.c [SCSI] aic79xx: user visible misuse wrong SI units (not disk size!) 2008-10-23 11:42:15 -05:00
aic79xx_inline.h
aic79xx_osm_pci.c
aic79xx_osm.c
aic79xx_osm.h
aic79xx_pci.c [SCSI] aic7xxx: leaves timer running on init failure 2009-04-03 09:22:55 -05:00
aic79xx_pci.h
aic79xx_proc.c
aic79xx_reg_print.c_shipped [SCSI] aic7xxx: update *_shipped files 2008-10-23 11:42:12 -05:00
aic79xx_reg.h_shipped [SCSI] aic7xxx: update *_shipped files 2008-10-23 11:42:12 -05:00
aic79xx_seq.h_shipped
aic79xx.h
aic79xx.reg
aic79xx.seq
aic7770_osm.c
aic7770.c
aiclib.c
aiclib.h
cam.h
Kconfig.aic7xxx
Kconfig.aic79xx
Makefile
queue.h
scsi_iu.h
scsi_message.h