android_kernel_xiaomi_sm8350/drivers/base
James Bottomley 2b7d6a8cb9 [SCSI] attribute container final klist fixes
Since the attribute container deletes from a klist while it's walking
it, it is vulnerable to the problem (and fix) here:

http://marc.theaimsgroup.com/?l=linux-scsi&m=112485448830217

The attached fixes this (but won't compile without the above).

It also fixes the logical reversal in the traversal loop which meant
that we were never actually traversing the loop to hit this bug in the
first place.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-08-30 22:44:32 -05:00
..
power [PATCH] Driver core: Don't "lose" devices on suspend on failure 2005-06-20 15:15:37 -07:00
attribute_container.c [SCSI] attribute container final klist fixes 2005-08-30 22:44:32 -05:00
base.h [PATCH] driver core: Add the ability to bind drivers to devices from userspace 2005-06-29 22:48:04 -07:00
bus.c [PATCH] driver core: change bus_rescan_devices to return void 2005-06-29 22:48:04 -07:00
class.c [PATCH] class: add kerneldoc for the new class functions. 2005-06-20 15:15:11 -07:00
core.c [PATCH] Driver core: Use klist_del() instead of klist_remove(). 2005-06-29 22:48:05 -07:00
cpu.c [PATCH] generate hotplug events for cpu online 2005-06-25 16:24:31 -07:00
dd.c [PATCH] driver core: Add the ability to bind drivers to devices from userspace 2005-06-29 22:48:04 -07:00
dmapool.c [PATCH] Driver Core: drivers/base - drivers/i2c/chips/adm1026.c: update device attribute callbacks 2005-06-20 15:15:32 -07:00
driver.c [PATCH] driver core: add bus_find_device & driver_find_device functions 2005-06-29 22:48:03 -07:00
firmware_class.c [PATCH] request_firmware(): avoid race conditions 2005-06-28 21:20:30 -07:00
firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] Move device/driver code to drivers/base/dd.c 2005-06-20 15:15:13 -07:00
map.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
node.c [PATCH] node local per-cpu-pages 2005-06-21 18:46:16 -07:00
platform.c [PATCH] DocBook: fix some descriptions 2005-05-01 08:59:26 -07:00
sys.c [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... 2005-07-12 17:21:56 -04:00
transport_class.c [SCSI] fix transport class corner case after rework 2005-08-28 11:14:06 -05:00