From: Petr Tesarik Date: Tue, 5 Aug 2008 16:17:02 +0000 (+0200) Subject: ide-cd: fix endianity for the error message in cdrom_read_capacity X-Git-Tag: v2.6.27-rc2~37^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=938bb03d188a1e688fb0bcae49788f540193e80a;p=pandora-kernel.git 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 Cc: Jens Axboe Cc: Jan Kara Cc: Andrew Morton Cc: Acked-by: Borislav Petkov [bart: __u32 -> u32] Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed