Re: [PATCH] scsi: mvumi: remove code handling zero scsi_sg_count(scmd) case

Martin K. Petersen
2017-04-24T22:18:12Z

Alexey,

> As Christoph Hellwig noted, SCSI commands that transfer data
> always have a SG entry. The patch removes dead code in
> mvumi_make_sgl(), mvumi_complete_cmd() and mvumi_timed_out()
> that handle zero scsi_sg_count(scmd) case.
>
> Also the patch adds pci_unmap_sg() on failure path in mvumi_make_sgl().

Applied to 4.12/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering