Benjamin Herrenschmidt a87a87ccdc ide: Fix siimage driver accessing beyond array boundary
The siimage 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-13 17:47:48 +02:00
2007-10-16 22:29:55 +02:00
2007-10-16 22:29:54 +02:00
2007-10-16 22:29:58 +02:00
2007-10-16 11:21:00 +02:00
2007-10-16 22:29:58 +02:00
2007-10-16 22:29:58 +02:00
2007-05-10 00:01:09 +02:00