hw/scsi: Rename SCSIRequest::resid as 'residual'
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 10:13:34 +0000 (11:13 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 18 Jan 2022 11:56:29 +0000 (12:56 +0100)
commit5f412602ded57bbdce614685eba915f6042dda1d
tree2078f9c06df35abc137c9bb4620c52c9ddd02311
parentce0a7982855afd873600a4180161adbfaef24cc1
hw/scsi: Rename SCSIRequest::resid as 'residual'

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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20220111184309.28637-8-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/scsi/megasas.c
hw/scsi/scsi-bus.c
hw/scsi/scsi-disk.c
include/hw/scsi/scsi.h
softmmu/dma-helpers.c