From nobody Mon Feb 9 12:02:13 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DB26F9F8 for ; Tue, 28 Jan 2025 14:35:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738074929; cv=none; b=DJzUwl/Ow+7vyNlnaS8eBvyjLJiGBTDUb1WXeClSqyYs4LnZN25MPxAn9IpXtMVAZtY5nXNO0LEDBAscUhqBg7aEUSoqvwWDg0LJbubv8Dg22lH7w/N/ULcgPE5mybY6+eavDMj3/oCosxiYbwk38S4UzvjBPYHTPu68QtJfjo4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738074929; c=relaxed/simple; bh=FyhnDymT6aV1RMwhObbq3A42AMMvrCuEjvFVC+hNN7w=; h=Date:From:To:Cc:Subject:Message-Id:Mime-Version:Content-Type; b=DeHeYieNlSNuQFLuMbje4Usw4/oDOlTvzO2UHzQUgv+H5+Wvig1HcJo5fyRdWao8NPRYlmG3kA4LjtlcgJtxe4/WOx9hPKnNUh5ZY1VcMdOuFpSU7j6McvIqq7Mz6eYUyjqW2iqKAL37nb9VfcRZjxunxZsA+eb1M6a1299/u0A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EGPQgpjs; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EGPQgpjs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D2EEC4CED3; Tue, 28 Jan 2025 14:35:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738074928; bh=FyhnDymT6aV1RMwhObbq3A42AMMvrCuEjvFVC+hNN7w=; h=Date:From:To:Cc:Subject:From; b=EGPQgpjspWjEvmL5LBdBOsTszCTiLKR7KYZEDF91h0t1fgAjtMw004beDz+pml023 7wB+oDDBGPmFWtJ9ICqOpXc5BZxFgHMImFQ8wadiO98Je29L67NGlXQfarim2HYPMU wGjZgfrkbcBLMzSPex7M2/PcD1wUa0OAobs5vCkrOXpMppPrUdKhS51K6wad116AIk aXegj55ZpdoNnjPVjh6QYazfRdbKkPhtOn/VcXx+CHDKifaoIOBqeT/V6EsdkwqEuU ntq88Hr2qQVNkbMLKME59KBn3bmZLntsM9XUar0YMi/dBmCpk0rDOB9hWOYS5ammaU H72F6fsn6WM1A== Date: Tue, 28 Jan 2025 23:35:24 +0900 From: Masami Hiramatsu (Google) To: Linus Torvalds Cc: Luo Yifan , Steven Rostedt , Masami Hiramatsu , linux-kernel@vger.kernel.org Subject: [GIT PULL] bootconfig: Fixes for v6.13 Message-Id: <20250128233524.a0b095415df1fe2afec59ae9@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hi 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 Date: Tue Jan 28 23:27:01 2025 +0900 tools/bootconfig: Fix the wrong format specifier =20 Use '%u' instead of '%d' for unsigned int. =20 Link: https://lore.kernel.org/all/20241105011048.201629-1-luoyifan@cmss= .chinamobile.com/ =20 Fixes: 973780011106 ("tools/bootconfig: Suppress non-error messages") Signed-off-by: Luo Yifan Signed-off-by: Masami Hiramatsu (Google) diff --git a/tools/bootconfig/main.c b/tools/bootconfig/main.c index 156b62a163c5..8a48cc2536f5 100644 --- a/tools/bootconfig/main.c +++ b/tools/bootconfig/main.c @@ -226,7 +226,7 @@ static int load_xbc_from_initrd(int fd, char **buf) /* Wrong Checksum */ rcsum =3D xbc_calc_checksum(*buf, size); if (csum !=3D rcsum) { - pr_err("checksum error: %d !=3D %d\n", csum, rcsum); + pr_err("checksum error: %u !=3D %u\n", csum, rcsum); return -EINVAL; } =20 @@ -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); =20 /* TODO: Check the options by schema */ xbc_exit(); --=20 Masami Hiramatsu (Google)