spi: spi-qpic-snand: avoid memory corruption
authorMark Brown <broonie@kernel.org>
Mon, 30 Jun 2025 11:42:36 +0000 (12:42 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 30 Jun 2025 11:42:36 +0000 (12:42 +0100)
commit4ec24e9601d5cfc9ac9798c0acb8e88c6ab61fc5
tree356d3a2c38c739da3a0347a57db7bf90b6e57e8d
parentfa60c094c19b97e103d653f528f8d9c178b6a5f5
parentddaad4ad774d4ae02047ef873a8e38f62a4b7b01
spi: spi-qpic-snand: avoid memory corruption

Merge series from Gabor Juhos <j4g8y7@gmail.com>:

The 'spi-qpic-nand' driver may cause memory corruption under some
circumstances. The first patch in the series changes the driver to
avoid that, whereas the second adds some sanity checks to the common
QPIC code in order to make detecting such errors easier in the future.