UPSTREAM: tools/bootconfig: Store size and checksum in footer as le32
Store the size and the checksum fields in the footer as le32 instead of u32. This will allow us to apply bootconfig to the cross build initrd without caring the endianness. Link: https://lkml.kernel.org/r/160583935332.547349.5897811300636587426.stgit@devnote2 Reported-by:Steven Rostedt <rostedt@goodmis.org> Suggested-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by:
Steven Rostedt (VMware) <rostedt@goodmis.org> (cherry picked from commit e8684358) Signed-off-by:
Devin Moore <devinmoore@google.com> Change-Id: Ib338fb28c494d4d7fc981fbbde30891fb088018a
Loading
Please sign in to comment