android_kernel_xiaomi_sm8350/drivers
Alan Stern a64358db12 [SCSI] SCSI scanning and removal fixes
This patch (as545) fixes the list traversals in __scsi_remove_target and
scsi_forget_host.  In each case the existing code list_for_each_entry_safe
in an _unsafe_ manner, because the list was not protected from outside
modification while the iteration was running.

The new scsi_forget_host routine takes the moderately controversial step
of iterating over devices for removal rather than iterating over targets.
This makes more sense to me because the current scheme treats targets as
second-class citizens, created and removed on demand, rather than as
objects corresponding to actual hardware.  (Also I couldn't figure out any
safe way to iterate over the target list, since it's not so easy to tell
when a target has already been removed.)

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-09-18 15:22:06 -05:00
..
acorn [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
acpi [PATCH] remove ACPI S4bios support 2005-09-10 10:06:35 -07:00
atm [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
base [PATCH] dmapool: Fix "nocast type" warnings 2005-09-10 10:06:29 -07:00
block Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 2005-09-12 20:02:18 -07:00
bluetooth
cdrom [PATCH] drivers/cdrom: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
char [ARM SMP] Add MPCore watchdog driver 2005-09-12 22:56:56 +01:00
connector [NET]: Add netlink connector. 2005-09-11 19:15:07 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon [PATCH] hwmon: w83627hf: no reset by default 2005-09-09 14:34:21 -07:00
i2c [PATCH] I2C: i2c-nforce2: drop unused define 2005-09-09 14:34:21 -07:00
ide hpt366: write the full 4 bytes of ROM address, not just low 1 byte 2005-09-11 09:22:50 -07:00
ieee1394 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 2005-09-12 20:02:18 -07:00
infiniband Merge master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2005-09-11 10:16:07 -07:00
input Input: i8042 - use kzalloc instead of kcalloc 2005-09-10 12:04:42 -05:00
isdn [PATCH] vfree and kfree cleanup in drivers/ 2005-09-10 10:06:30 -07:00
macintosh
mca
md [PATCH] merge some from Rusty's trivial patches 2005-09-10 10:06:30 -07:00
media [PATCH] vfree and kfree cleanup in drivers/ 2005-09-10 10:06:30 -07:00
message
mfd [MFD] Cleanups suggested by Dmitri, Vojtech and lists. 2005-09-11 10:28:00 +01:00
misc [PATCH] hdpu_cpustate.c: misc_register() can fail 2005-09-10 10:06:25 -07:00
mmc [MMC] Clean up wbsd detection handling 2005-09-12 20:36:19 +01:00
mtd [PATCH] uclinux: remove use of mtd_put_device() in uclinux MTD map driver 2005-09-11 20:43:46 -07:00
net Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2005-09-12 15:55:09 -07:00
nubus
oprofile
parisc [PATCH] merge some from Rusty's trivial patches 2005-09-10 10:06:30 -07:00
parport [PATCH] parport: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
pci [PATCH] Subject: PATCH: fix numa caused compile warnings 2005-09-10 10:06:21 -07:00
pcmcia
pnp
s390
sbus [SPARC] drivers/sbus: fix-up schedule_timeout() usage 2005-09-12 14:16:17 -07:00
scsi [SCSI] SCSI scanning and removal fixes 2005-09-18 15:22:06 -05:00
serial [PATCH] m68knommu: add ColdFire serial driver support for 523x processor family 2005-09-11 20:43:46 -07:00
sh
sn
tc
telephony [PATCH] telephony: fix-up schedule_timeout() usage 2005-09-10 10:06:39 -07:00
usb [PATCH] USB: ftdi_sio: custom baud rate fix 2005-09-12 12:23:54 -07:00
video [PATCH] USB: sisusb[vga] update 2005-09-12 12:23:38 -07:00
w1 [PATCH] crc16: remove w1 specific comments. 2005-09-12 12:35:17 -07:00
zorro
Kconfig [NET]: Add netlink connector. 2005-09-11 19:15:07 -07:00
Makefile [NET]: Add netlink connector. 2005-09-11 19:15:07 -07:00