Re: [PATCH] scsi: efct: Remove useless DMA-32 fallback configuration
From: Martin K. Petersen
Date: Tue Jan 18 2022 - 23:06:28 EST
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