[PATCH] mtd: spi-nor: sst: Fix SST write failure
Csókás Bence
csokas.bence at prolan.hu
Thu Feb 13 04:48:00 PST 2025
Hi,
On 2025. 02. 13. 9:09, Tudor Ambarus wrote:
>>> nor->program_opcode = op;
>>> - ret = spi_nor_write_data(nor, to, 1, buf);
>>> + ret = spi_nor_write_data(nor, to, len, buf);
>>
>> What a silly bug! Thanks for fixing it. I will let the patch sit on the
>> list for a couple days to get some eyes on it and then will apply it.
>
> Looks good. Needs Cc to stable, it was introduced in v6.12, and we can
> get it as fixes for v6.14. With cc to stable:
>
> Reviewed-by: Tudor Ambarus <tudor.ambarus at linaro.org>
Agreed. I'm surprised no one reported this yet.
Reviewed-by: Bence Csókás <csokas.bence at prolan.hu>
>>
>> Reviewed-by: Pratyush Yadav <pratyush at kernel.org>
>>
>>> if (ret < 0)
>>> return ret;
>>> WARN(ret != len, "While writing %zu byte written %i bytes\n", len, ret);
>>
>
>
More information about the linux-mtd
mailing list