qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 6/9] hw/scsi: Rename SCSIRequest::resid as 'residual'


From: Richard Henderson
Subject: Re: [PATCH v2 6/9] hw/scsi: Rename SCSIRequest::resid as 'residual'
Date: Thu, 6 Jan 2022 16:22:31 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 1/4/22 12:54 AM, Philippe Mathieu-Daudé wrote:
From: Philippe Mathieu-Daudé<philmd@redhat.com>

The 'resid' field is slightly confusing and could be
interpreted as some ID. Rename it as 'residual' which
is clearer to review. No logical change.

Signed-off-by: Philippe Mathieu-Daudé<philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org>
---
  include/hw/scsi/scsi.h |  4 ++--
  hw/scsi/megasas.c      | 42 +++++++++++++++++++++++++-----------------
  hw/scsi/scsi-bus.c     | 10 +++++-----
  hw/scsi/scsi-disk.c    |  4 ++--
  softmmu/dma-helpers.c  | 26 +++++++++++++-------------
  5 files changed, 47 insertions(+), 39 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]