[PATCH master 1/3] mci: core: reset number of parttions on card probe failure
Sascha Hauer
s.hauer at pengutronix.de
Tue May 14 22:54:32 PDT 2024
On Mon, 13 May 2024 11:58:45 +0200, Ahmad Fatoum wrote:
> mci_part_add records information about MMC hardware partitions and
> increments mci->nr_parts by one afterwards.
> If starting up the card succeeds, this information is then used to
> call mci_register_partition for each added partition.
>
> If card start up fails, registration will be skipped, but mci->nr_parts
> is not reset. This means that repeatedly calling device_detect will
> overflow the mci->part buffer and overwrite subsequent memory.
>
> [...]
Applied, thanks!
[1/3] mci: core: reset number of parttions on card probe failure
https://git.pengutronix.de/cgit/barebox/commit/?id=c3ca560d93be (link may not be stable)
[2/3] mci: core: remove HS200 from mci_timing_is_ddr
https://git.pengutronix.de/cgit/barebox/commit/?id=5d8a81f83b59 (link may not be stable)
[3/3] ARM64: reloc: fix relocation error for big fat bareboxes
https://git.pengutronix.de/cgit/barebox/commit/?id=fdb311841c61 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list