aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-08-04 11:32:44 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-08-05 16:05:56 +0200
commit3025ea65bd515196e871adc8959336c51b9d27bc (patch)
tree96600a76441fa941d3f34ca3b42680bcbe4b22a8 /scripts/qapi/parser.py
parent0a9a27305da030a83e65714f6ba202dbcaf448a3 (diff)
downloadqemu-3025ea65bd515196e871adc8959336c51b9d27bc.zip
qemu-3025ea65bd515196e871adc8959336c51b9d27bc.tar.gz
qemu-3025ea65bd515196e871adc8959336c51b9d27bc.tar.bz2
hw/sd/sdcard: Factor sd_response_size() out
Set @rsplen once before switching to fill the response buffer. This will allow to assert in a single place that the buffer is big enough to be filled with the response. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250804133406.17456-3-philmd@linaro.org>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions