[PATCH] mtd: core: always verify OOB offset in mtd_check_oob_ops()

Gabor Juhos j4g8y7 at gmail.com
Mon Sep 1 07:12:11 PDT 2025


Hi Miquel,

2025. 09. 01. 14:39 keltezéssel, Miquel Raynal írta:

...

>> This behaviour is more accurate than the current one where most tests
>> are indicating successful writing of OOB data even that in fact nothing
>> gets written into the device, which is quite misleading.
>>
>> Signed-off-by: Gabor Juhos <j4g8y7 at gmail.com>
> 
> Thanks a lot for this contribution, I'm ready to take it. Just one
> question, do you consider it should be backported? I would tend to
> answer yes to this question, which would involve you sending a v2 with:
> 
>        Fixes:
>        Cc: stable...
> 
> Otherwise I can take it as-is if you convince me it is not so relevant
> :-)

I can't convince even myself about that, so will send a v2. :)

Regards,
Gabor



More information about the linux-mtd mailing list