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
..
2007-10-17 08:42:52 -07:00
2007-10-16 09:43:09 -07:00
2007-10-17 08:42:49 -07:00
2007-10-16 19:04:49 -07:00
2007-10-17 22:51:13 +02:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:52 -07:00
2007-10-16 09:43:10 -07:00
2007-10-14 08:53:33 -07:00
2007-10-17 08:42:57 -07:00
2007-10-17 08:43:07 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:09 -07:00