[PATCH 1/2] mci: improve packing of struct mci
Sascha Hauer
s.hauer at pengutronix.de
Wed Apr 3 05:25:35 PDT 2024
On Wed, 03 Apr 2024 11:03:52 +0200, Ahmad Fatoum wrote:
> rca will be at least 4-byte aligned due to being after a 4-byte member.
> It's only 2 byte long though and followed by another 4 byte member,
> wasting 2 bytes. Fill those up with the two 1-byte bool members we have.
>
> This includes a change of type for high_capacity: This is ok, because
> only 0 or 1 are ever saved into it.
>
> [...]
Applied, thanks!
[1/2] mci: improve packing of struct mci
https://git.pengutronix.de/cgit/barebox/commit/?id=126a04803941 (link may not be stable)
[2/2] mci: remove FIXME in rca description
https://git.pengutronix.de/cgit/barebox/commit/?id=fa6c38a55d8d (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list