hw/sd/sdcard: Make iolen unsigned
commit692fb0ef31af680632c84bc18bc639cba4a0e24b
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 7 Jul 2020 04:12:58 +0000 (7 06:12 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 25 Oct 2020 23:36:52 +0000 (26 00:36 +0100)
treee23273507f41e3c41b36b779356d0d6c436ad31d
parentaecaa05922bca8b1760cd463935ca2a71df776f5
hw/sd/sdcard: Make iolen unsigned

I/O request length can not be negative.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20200630133912.9428-15-f4bug@amsat.org>
hw/sd/sd.c
hw/sd/trace-events