lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ