bootconfig: Fixes for v6.13
Masami Hiramatsu (Google)
maintainerHi Linus,
Bootconfig fixes for v6.13:
- tools/bootconfig: Fix the wrong format specifier. This fixes bootconfig tool to use '%u' for unsigned int.
Please pull the latest bootconfig-fixes-v6.13 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
bootconfig-fixes-v6.13
Tag SHA1: 4022f316e3bc5cb6e6c3987f4f26e2db6edae2b7 Head SHA1: f6ab7384d554ba80ff4793259d75535874b366f5
Luo Yifan (1):
tools/bootconfig: Fix the wrong format specifier
----
tools/bootconfig/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --------------------------- commit f6ab7384d554ba80ff4793259d75535874b366f5 Author: Luo Yifan <[email protected]> Date: Tue Jan 28 23:27:01 2025 +0900
tools/bootconfig: Fix the wrong format specifier
Use '%u' instead of '%d' for unsigned int.
tools/bootconfig/main.c +2 -2
@@ -226,7 +226,7 @@ static int load_xbc_from_initrd(int fd, char **buf)/* Wrong Checksum */ rcsum =xbc_calc_checksum (*buf, size);if (csum != rcsum) { -pr_err ("checksum error: %d != %d\n" , csum, rcsum); +pr_err ("checksum error: %u != %u\n" , csum, rcsum);return -EINVAL ; }
@@ -395,7 +395,7 @@ static int apply_xbc(const char *path, const char *xbc_path)xbc_get_info (&ret,NULL );printf ("\tNumber of nodes: %d\n" , ret);printf ("\tSize: %u bytes\n" , (unsigned int )size); -printf ("\tChecksum: %d\n" , (unsigned int )csum); +printf ("\tChecksum: %u\n" , (unsigned int )csum);/* TODO: Check the options by schema */ xbc_exit ();
Signature · 1 line
Masami Hiramatsu (Google) <[email protected]>
The pull request you sent on Tue, 28 Jan 2025 23:35:24 +0900:
The pull request you sent on Tue, 28 Jan 2025 23:35:24 +0900:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.gitbootconfig-fixes-v6.13
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cd45f362fc1f2d81fa69a19e7f8eca058db3e320
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html