[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq137cxih75.fsf@oracle.com>
Date: Mon, 24 Apr 2017 18:17:18 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Alexey Khoroshilov <khoroshilov@...ras.ru>
Cc: Christoph Hellwig <hch@...radead.org>,
"James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
ldv-project@...uxtesting.org
Subject: Re: [PATCH] scsi: mvumi: remove code handling zero scsi_sg_count(scmd) case
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
Powered by blists - more mailing lists