summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Maydell2018-06-29 16:11:19 +0200
committerPeter Maydell2018-06-29 16:11:19 +0200
commit13606b99515e8c5f81eab7fd88a70fb2ad506cd8 (patch)
tree3be73fe2c36e6dafca09e6ede8ba0d6daa2a0985 /scripts
parenttarget/arm: Mark PMINTENSET accesses as possibly doing IO (diff)
downloadqemu-13606b99515e8c5f81eab7fd88a70fb2ad506cd8.tar.gz
qemu-13606b99515e8c5f81eab7fd88a70fb2ad506cd8.tar.xz
qemu-13606b99515e8c5f81eab7fd88a70fb2ad506cd8.zip
sd: Don't trace SDRequest crc field
We don't actually implement SD command CRC checking, because for almost all of our SD controllers the CRC generation is done in hardware, and so modelling CRC generation and checking would be a bit pointless. (The exception is that milkymist-memcard makes the guest software compute the CRC.) As a result almost all of our SD controller models don't bother to set the SDRequest crc field, and the SD card model doesn't check it. So the tracing of it in sdbus_do_command() provokes Coverity warnings about use of uninitialized data. Drop the CRC field from the trace; we can always add it back if and when we do anything useful with the CRC. Fixes Coverity issues 1386072, 1386074, 1386076, 1390571. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180626180324.5537-1-peter.maydell@linaro.org
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions