Petr Tesarik 938bb03d18 ide-cd: fix endianity for the error message in cdrom_read_capacity
Aesthetic regards aside, commit e8e7b9eb11c34ee18bde8b7011af41938d1ad667
still leaves a bug in the error message, because it uses the unconverted
big-endian value for printk.

Fix this by using a local variable in machine byte order. The result is
correct, more readable, and also produces slightly shorter code on i386.

Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: <stable@kernel.org>
Acked-by: Borislav Petkov <petkovbb@gmail.com>
[bart: __u32 -> u32]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-08-05 18:17:02 +02:00
..
2008-07-24 10:47:41 -07:00
2008-07-17 20:20:59 +08:00
2008-07-22 17:30:57 -07:00
2008-07-25 10:53:49 -07:00
2008-07-25 10:53:30 -07:00
2008-08-01 19:04:26 +02:00
2008-07-26 12:00:11 -07:00
2008-08-04 17:12:07 -07:00
2008-08-04 12:51:06 +09:00
2008-07-21 21:54:55 -07:00
2008-07-30 10:10:22 +01:00