Grant Likely f0edef8c8b xsysace: Fix dereferencing of cf_id after hd_driveid removal
Commit 4aaf2fec718f6fbf38668edf733a0ab09a49cab1 (xsysace: make it
'struct hd_driveid'-free) converted the cf_id member of 'struct
ace_device' from a 'struct hd_driveid' to a u16 array.  However,
references to the base of the structure were still using the '&'
operator.  When the address was used with the ata_id_u32() macro, the
compiler used the size of the entire array instead of sizeof(u16) to
calculate the offset from the base address.

This patch removes the use of the '&' operator from all references of
cf_id to fix the bug and remove future confusion.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-04-08 14:13:04 +02:00
..
2009-04-01 21:42:24 +02:00
2009-02-18 10:32:01 +01:00
2008-10-21 07:47:44 -04:00
2009-04-07 08:12:38 +02:00
2009-03-24 12:35:17 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2009-04-07 08:12:38 +02:00
2009-04-07 08:12:38 +02:00
2009-04-07 08:12:38 +02:00
2009-04-02 19:05:02 -07:00
2005-04-16 15:20:36 -07:00
2008-10-21 07:48:03 -04:00
2009-03-26 21:15:27 +01:00
2009-03-26 21:15:27 +01:00
2008-10-21 07:48:07 -04:00
2008-10-21 07:48:11 -04:00
2008-10-21 07:48:11 -04:00
2008-10-21 07:48:17 -04:00