On Wed, 19 May 2021 09:49:32 +0000, Matt Wang wrote: > Some commands like INQUIRY VPD pages may return bytes less than > commands data buffer. To avoid conducting useless information, set right > residual count to make upper layer aware of this. > > Before (INQUIRY PAGE 0xB0 with 128B buffer): > sg_raw -r 128 /dev/sda 12 01 B0 00 80 00 > SCSI Status: Good > > [...] Applied to 5.13/scsi-fixes, thanks! [1/1] Set correct transferred data length for PVSCSI https://git.kernel.org/mkp/scsi/c/e662502b3a78 -- Martin K. Petersen Oracle Linux Engineering