From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Re: [PATCH master 1/3] mci: core: reset number of parttions on card probe failure
Date: Wed, 15 May 2024 07:54:32 +0200 [thread overview]
Message-ID: <171575247251.1386405.7976456509144699355.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20240513095847.2420044-1-a.fatoum@pengutronix.de>
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@pengutronix.de>
prev parent reply other threads:[~2024-05-15 5:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-13 9:58 Ahmad Fatoum
2024-05-13 9:58 ` [PATCH master 2/3] mci: core: remove HS200 from mci_timing_is_ddr Ahmad Fatoum
2024-05-13 9:58 ` [PATCH master 3/3] ARM64: reloc: fix relocation error for big fat bareboxes Ahmad Fatoum
2024-05-15 5:54 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=171575247251.1386405.7976456509144699355.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox