]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bootconfig: Store size and checksum in footer as le32
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 20 Nov 2020 02:29:13 +0000 (11:29 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 1 Dec 2020 04:22:11 +0000 (23:22 -0500)
commit342cc39864eb1587d66e682c12e775f97ac2e4fd
tree3b738cfc275115c07dc805b53b6c17ec1d3d055b
parente0f8e109c3d26827cd126c1e100f0801f9d1abd2
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>
tools/bootconfig/main.c