[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164256513503.31841.13425632142718657762.b4-ty@oracle.com>
Date: Tue, 18 Jan 2022 23:06:10 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: James Smart <james.smart@...adcom.com>,
Ram Vegesna <ram.vegesna@...adcom.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
target-devel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH] scsi: efct: Remove useless DMA-32 fallback configuration
On Sun, 9 Jan 2022 19:57:04 +0100, Christophe JAILLET wrote:
> As stated in [1], dma_set_mask() with a 64-bit mask never fails if
> dev->dma_mask is non-NULL.
> So, if it fails, the 32 bits case will also fail for the same reason.
>
> Simplify code and remove some dead code accordingly.
>
> While at it, return the error code returned by dma_set_mask_and_coherent()
> instead of -1.
>
> [...]
Applied to 5.17/scsi-queue, thanks!
[1/1] scsi: efct: Remove useless DMA-32 fallback configuration
https://git.kernel.org/mkp/scsi/c/1aa7d9799e85
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists