]> git.baikalelectronics.ru Git - kernel.git/commit
bootconfig: Load size and checksum in the footer as le32
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 20 Nov 2020 02:29:04 +0000 (11:29 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 1 Dec 2020 04:22:11 +0000 (23:22 -0500)
commit6e58e78a86834bfda463ca23d71a2e53bfbf433d
tree53c659148f71917e1ef5be7087e0ab43754bf42e
parentb58eff1056770c710159debef342c3eac501b6f6
bootconfig: Load size and checksum in the footer as le32

Load 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/160583934457.547349.10504070298990791074.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>
init/main.c