qemu-e2k/hw/sd
Peter Maydell 8827b0fb66 sd/pl181.c: Avoid undefined shift behaviour in RWORD macro
Add a cast to avoid potentially shifting into the sign bit of
a signed value, which is undefined behaviour in C.

(Detected with clang's -fsanitize=undefined.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1372341831-4264-1-git-send-email-peter.maydell@linaro.org
2013-07-15 16:17:30 +01:00
..
Makefile.objs hw: move SD/MMC devices to hw/sd/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
milkymist-memcard.c hw/s*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
omap_mmc.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
pl181.c sd/pl181.c: Avoid undefined shift behaviour in RWORD macro 2013-07-15 16:17:30 +01:00
pxa2xx_mmci.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
sd.c sd/sd.c: Fix "inquiry" ACMD41 2013-06-03 17:17:45 +01:00
sdhci.c hw/s*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
sdhci.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ssi-sd.c sd: pass bool parameter for sd_init 2013-06-21 22:52:50 +04:00