kernel-ark/drivers
Tejun Heo 77f3f87938 [PATCH] libata: fix ata_device_add() error path
In the error path, ata_device_add()

* dereferences null host_set->ports[] element.
* calls scsi_remove_host() on not-yet-added shost.

This patch fixes both bugs.  The first problem was spotted and initial
patch submitted by Dave Jones <davej@redhat.com>.  The second problem
was mentioned and fixed by Jeff Garzik <jgarzik@pobox.com> in a larger
cleanup patch.

Cc: Dave Jones <davej@redhat.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
2006-08-05 03:59:19 +09:00
..
acorn
acpi
amba
atm
base [PATCH] cpu hotplug: use hotplug version of registration in late inits 2006-07-31 13:28:39 -07:00
block [PATCH] nbd: Abort request on data reception failure 2006-07-31 13:28:39 -07:00
bluetooth
cdrom
char [PATCH] hwrng: fix geode probe error unwind 2006-07-31 13:28:43 -07:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firmware
hwmon
i2c
ide Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-07-31 13:39:52 -07:00
ieee1394
infiniband IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
input
isdn
leds
macintosh Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-07-31 13:39:52 -07:00
mca
md
media
message
mfd
misc
mmc
mtd
net [E1000]: Convert to netdev_alloc_skb 2006-08-02 13:38:27 -07:00
nubus
oprofile
parisc
parport
pci [PATCH] pci/search: cleanups, add to kernel-api.tmpl 2006-07-31 13:28:40 -07:00
pcmcia [PATCH] pcmcia: fix ioctl GET_CONFIGURATION_INFO for pcmcia_cards 2006-07-31 13:28:41 -07:00
pnp [PATCH] Fix swsusp with PNP BIOS 2006-07-31 13:28:41 -07:00
rapidio
rtc
s390
sbus
scsi [PATCH] libata: fix ata_device_add() error path 2006-08-05 03:59:19 +09:00
serial
sh
sn
spi
tc
telephony
usb Revert "[PATCH] USB: move usb_device_class class devices to be real devices" 2006-08-02 16:52:10 -07:00
video Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-07-31 13:39:52 -07:00
w1
zorro
Kconfig
Makefile