]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: spi-nor: swp: Explain the MEMLOCK ioctl implementation behaviour
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 26 May 2026 14:56:32 +0000 (16:56 +0200)
committerPratyush Yadav <pratyush@kernel.org>
Tue, 26 May 2026 15:21:04 +0000 (17:21 +0200)
commit5eeff82d389e381422f48a4bde4b7f4a5a2dc584
treed9c0fd5d87a8ed5311d5865fedbd35e12a2aecdb
parent461e2f8a2d943ea2b1b966e8ffc8e5ac02c6a686
mtd: spi-nor: swp: Explain the MEMLOCK ioctl implementation behaviour

Add more details about how these requests are actually handled in the
SPI NOR core. Their behaviour was not entirely clear to me at first, and
explaining them in plain English sounds the way to go.

Reviewed-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
drivers/mtd/spi-nor/core.h