summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux
diff options
context:
space:
mode:
authorPeter Maydell2014-02-26 18:19:58 +0100
committerPeter Maydell2014-02-26 18:19:58 +0100
commit106a73b6d200035c5156f90b5f9b6a53d3adb43b (patch)
tree8c0d56103e9782608bd9dabc2f5a626a39717920 /linux-headers/linux
parenthw/misc/arm_sysctl: Fix bad boundary check on mb clock accesses (diff)
downloadqemu-106a73b6d200035c5156f90b5f9b6a53d3adb43b.tar.gz
qemu-106a73b6d200035c5156f90b5f9b6a53d3adb43b.tar.xz
qemu-106a73b6d200035c5156f90b5f9b6a53d3adb43b.zip
hw/net/stellaris_enet: Avoid unintended sign extension
Add a cast to avoid an unintended sign extension that would mean we returned 0xffffffff in the high 32 bits for an IA0 read if bit 31 in the MAC address was 1. (This is harmless since we'll only be doing 4 byte reads, but it could be confusing, so best avoided.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Message-id: 1392647854-8067-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions