On 8/4/25 23:33, Philippe Mathieu-Daudé wrote:
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é<[email protected]>
---
  hw/sd/sd.c | 36 +++++++++++++++++++++++++++++-------
  1 file changed, 29 insertions(+), 7 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to