android_kernel_motorola_sm6225/drivers/ide/pci
Benjamin Herrenschmidt 15d8061bf0 ide: Fix cs5535 driver accessing beyond array boundary
The cs5535 uses an incorrect construct to access the other drive of a pair,
causing it to access beyond an array boundary on the secondary interface.

This fixes it by using the new ide_get_paired_drive() helper instead.

Bart: patch description fixes

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Andrew Morton <akpm@osdl.org>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-10-19 00:30:05 +02:00
..
aec62xx.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
alim15x3.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
amd74xx.c amd74xx: remove /proc/ide/amd74xx 2007-10-16 22:29:58 +02:00
atiixp.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
cmd64x.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
cmd640.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
cs5520.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
cs5530.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
cs5535.c ide: Fix cs5535 driver accessing beyond array boundary 2007-10-19 00:30:05 +02:00
cy82c693.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
delkin_cb.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
generic.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
hpt34x.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
hpt366.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
it821x.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
it8213.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
jmicron.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ns87415.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
opti621.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
pdc202xx_new.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
pdc202xx_old.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
piix.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
rz1000.c ide: use PCI_VDEVICE() macro 2007-10-16 22:29:56 +02:00
sc1200.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
scc_pata.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
serverworks.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
sgiioc4.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
siimage.c ide: Fix siimage driver accessing beyond array boundary 2007-10-19 00:30:05 +02:00
sis5513.c sis5513: remove /proc/ide/sis 2007-10-16 22:29:58 +02:00
sl82c105.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
slc90e66.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
tc86c001.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
triflex.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
trm290.c ide: remove hwif->autodma and drive->autodma 2007-10-16 22:29:58 +02:00
via82cxxx.c amd74xx/via82cxxx: don't initialize drive->dn 2007-10-16 22:29:58 +02:00