Re: [PATCH] mtd: parsers: qcom: drop setting of partition's mask_flags
From: Miquel Raynal
Date: Mon Oct 12 2026 - 14:28:44 EST
Hi Gabor,
On 06/10/2026 at 22:00:41 +02, Gabor Juhos <j4g8y7@xxxxxxxxx> wrote:
> The 'attr' member of struct 'smem_flash_pentry' is 8 bits wide,
> so it is only usable to mask the lower 8 bits in the MTD flags.
> However the MTD layer does not define any maskable flags in
> these bits at all. Additionally, the meaning of the bits in the
> 'attr' field is not documented, so it is not even possible to map
> those to the defined MTD flags.
>
> Due to the reasons above, remove the 'mask_flags' assignment code
> since it has no effect anyway.
>
> Signed-off-by: Gabor Juhos <j4g8y7@xxxxxxxxx>
Sorry but it no longer applies after Weigang He's:
[PATCH] mtd: parsers: qcom: fix offset/size overflow on large partitions
Thanks,
Miquèl