]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/bootconfig: Cleanup bootconfig footer size calculations
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Thu, 10 Jul 2025 02:24:17 +0000 (11:24 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 14 Jul 2025 02:56:11 +0000 (11:56 +0900)
commit26dda57695090e05c1a99c3e8f802f862d1ac474
treeba3f50a1bb5dc3466e9971eab16dfe9d13355e3f
parenta141656ac81517207b1ed0dafdbada72d70d2900
tools/bootconfig: Cleanup bootconfig footer size calculations

There are many same pattern of 8 + BOOTCONFIG_MAGIC_LEN for calculating
the size of bootconfig footer. Use BOOTCONFIG_FOOTER_SIZE macro to
clean up those magic numbers.

Link: https://lore.kernel.org/all/175211425693.2591046.16029516706923643510.stgit@mhiramat.tok.corp.google.com/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
tools/bootconfig/main.c