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]
Message-ID: <164675405078.4788.10976712851332781674.b4-ty@microchip.com>
Date:   Tue, 8 Mar 2022 17:41:39 +0200
From:   Tudor Ambarus <tudor.ambarus@...rochip.com>
To:     Tudor Ambarus <tudor.ambarus@...rochip.com>, <p.yadav@...com>,
        <michael@...le.cc>
CC:     <linux-mtd@...ts.infradead.org>, <stable@...r.kernel.org>,
        <nicolas.ferre@...rochip.com>, <richard@....at>,
        <linux-kernel@...r.kernel.org>, <vigneshr@...com>,
        <miquel.raynal@...tlin.com>
Subject: Re: [PATCH] mtd: spi-nor: Skip erase logic when SPI_NOR_NO_ERASE is set

On Mon, 28 Feb 2022 18:33:34 +0200, Tudor Ambarus wrote:
> Even if SPI_NOR_NO_ERASE was set, one could still send erase opcodes
> to the flash. It is not recommended to send unsupported opcodes to
> flashes. Fix the logic and do not set mtd->_erase when SPI_NOR_NO_ERASE
> is specified. With this users will not be able to issue erase opcodes to
> flashes and instead they will recive an -ENOTSUPP error.

Applied to spi-nor/next, thanks!

[1/1] mtd: spi-nor: Skip erase logic when SPI_NOR_NO_ERASE is set
      https://git.kernel.org/mtd/c/151c6b49d679

Best regards,
-- 
Tudor Ambarus <tudor.ambarus@...rochip.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ