qemu/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
milkymist-memcard.c
omap_mmc.c
pl181.c sd/pl181.c: Avoid undefined shift behaviour in RWORD macro 2013-07-15 16:17:30 +01:00
pxa2xx_mmci.c
sd.c
sdhci.c
sdhci.h
ssi-sd.c