kernel-fxtec-pro1x/drivers
Petr Tesarik 938bb03d18 ide-cd: fix endianity for the error message in cdrom_read_capacity
Aesthetic regards aside, commit e8e7b9eb11
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
..
accessibility
acpi Remove newline from the description of module parameters 2008-08-01 12:46:41 -07:00
amba
ata pata_it821x: Driver updates and reworking 2008-07-31 02:04:50 -04:00
atm atm: fix direct casts of pointers to u32 in the InterPhase driver 2008-07-30 16:33:05 -07:00
auxdisplay
base Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-08-01 11:52:39 -07:00
block Remove newline from the description of module parameters 2008-08-01 12:46:41 -07:00
bluetooth bluetooth: add quirks for a few hci_usb devices 2008-07-30 17:19:35 -07:00
cdrom
char Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-08-04 17:25:06 -07:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac
eisa
firewire
firmware
gpio
gpu Remove newline from the description of module parameters 2008-08-01 12:46:41 -07:00
hid
hwmon Merge branch 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6 2008-08-01 11:33:19 -07:00
i2c
ide ide-cd: fix endianity for the error message in cdrom_read_capacity 2008-08-05 18:17:02 +02:00
ieee1394
infiniband powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
input maple: Kill useless private_data pointer. 2008-08-04 10:58:24 +09:00
isdn Add DIP switch readout for HFC-4S IOB4ST 2008-08-02 16:40:37 +02:00
leds
lguest
macintosh remove unnecessary <linux/hdreg.h> includes 2008-08-05 18:16:58 +02:00
mca
md Merge branch 'for-linus' of git://neil.brown.name/md 2008-08-01 11:56:07 -07:00
media Merge branch 'zero-len' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6 2008-08-01 12:47:53 -07:00
memstick
message
mfd
misc add reverse dependency of CONFIG_SGI_XP upon CONFIG_SGI_GRU 2008-08-01 12:26:03 -07:00
mmc au1xmmc: raise segment size limit. 2008-08-01 19:04:26 +02:00
mtd Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-08-03 10:39:02 -07:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2008-08-04 17:26:15 -07:00
nubus
of
oprofile
parisc
parport
pci
pcmcia Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-fixes-2.6 2008-08-04 17:14:21 -07:00
pnp PNP: fix formatting of dbg_pnp_show_resources() output 2008-08-01 12:46:41 -07:00
power
ps3
rapidio
regulator
rtc
s390 [S390] qeth: avoid use of include/asm-s390 2008-08-01 16:39:36 +02:00
sbus
scsi ide: fix regression caused by ide_device_{get,put}() addition (take 2) 2008-08-05 18:16:59 +02:00
serial cris: Fixup compile problems 2008-08-04 17:12:07 -07:00
sh sh: Fix up broken kerneldoc comments. 2008-08-04 12:51:06 +09:00
sn
spi atmel_spi: fix hang due to missed interrupt 2008-08-04 16:58:45 -07:00
ssb
tc
telephony
thermal
uio
usb remove unnecessary <linux/hdreg.h> includes 2008-08-05 18:16:58 +02:00
video Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-08-02 09:14:23 -07:00
virtio
w1
watchdog sc1200 watchdog driver: Fix locking, sems and coding style 2008-08-04 17:12:08 -07:00
xen
zorro
Kconfig
Makefile