Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Thu, 13 Feb 2025 05:45:46 +0000 (11:15 +0530)
committer
Pratyush Yadav <pratyush@kernel.org>
Mon, 17 Feb 2025 14:07:09 +0000 (14:07 +0000)
'commit 18bcb4aa54ea ("mtd: spi-nor: sst: Factor out common write operation
to `sst_nor_write_data()`")' introduced a bug where only one byte of data
is written, regardless of the number of bytes passed to
sst_nor_write_data(), causing a kernel crash during the write operation.
Ensure the correct number of bytes are written as passed to
sst_nor_write_data().