Re: [PATCH 0/3] bootconfig: Make size and checksum fields le32

From: Steven Rostedt
Date: Tue Dec 01 2020 - 10:49:04 EST


On Fri, 20 Nov 2020 11:28:55 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> Hello,
>
> This is a series of patches to make the size and the checksum fields
> in the footer le32 instead of u32.
>
> In the thread for alignment series[1], Steve pointed that the current
> footer format didn't specify the endianness thus it is hard to apply
> the bootconfig for cross-build initrd if the target endianness is
> different from the host machine.
>
> I've proposed that the hexadecimal ASCII string in the previous series
> [2] but Linus pointed that making it le32 was enough.
>
> So this just make those fields le32.
>
> Thank you,
>
> [1] https://lore.kernel.org/lkml/20201118112249.30d20147@xxxxxxxxxxxxxxxxxx/
> [2] https://lore.kernel.org/linux-doc/CAHk-=wi9RedSQoGF06dVs2mp7tBp4QoiW8+XZzNcDFJr3Zo5gg@xxxxxxxxxxxxxx/
>
> ---
>

I have this all tested. Is this something that should go into the current
-rc release, or wait for the next merge window?

-- Steve