Re: [PATCH] rust: io: fix example in `register!` macro
From: Alexandre Courbot
Date: Fri Jul 03 2026 - 01:19:34 EST
On Thu Jul 2, 2026 at 1:03 AM JST, Link Mauve wrote:
> In this example, an u32 register is split in two u8 in big-endian order,
> but the high byte is actually defined as taking nine bits instead of
> eight.
>
> This is completely inconsequential, as I expect most users will just
> copy the bit ranges from their datasheets, but it doesn’t hurt to fix
> that typo.
>
> Signed-off-by: Link Mauve <linkmauve@xxxxxxxxxxxx>
Acked-by: Alexandre Courbot <acourbot@xxxxxxxxxx>