This is a note to let you know that I've just added the patch titled tools/resolve_btfids: fix build with musl libc to the 6.7-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: tools-resolve_btfids-fix-build-with-musl-libc.patch and it can be found in the queue-6.7 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 62248b22d01e96a4d669cde0d7005bd51ebf9e76 Mon Sep 17 00:00:00 2001 From: Natanael Copa <ncopa@xxxxxxxxxxxxxxx> Date: Thu, 28 Mar 2024 11:59:13 +0100 Subject: tools/resolve_btfids: fix build with musl libc From: Natanael Copa <ncopa@xxxxxxxxxxxxxxx> commit 62248b22d01e96a4d669cde0d7005bd51ebf9e76 upstream. Include the header that defines u32. This fixes build of 6.6.23 and 6.1.83 kernels for Alpine Linux, which uses musl libc. I assume that GNU libc indirecly pulls in linux/types.h. Fixes: 9707ac4fe2f5 ("tools/resolve_btfids: Refactor set sorting with types from btf_ids.h") Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218647 Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Natanael Copa <ncopa@xxxxxxxxxxxxxxx> Tested-by: Greg Thelen <gthelen@xxxxxxxxxx> Link: https://lore.kernel.org/r/20240328110103.28734-1-ncopa@xxxxxxxxxxxxxxx Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- tools/include/linux/btf_ids.h | 2 ++ 1 file changed, 2 insertions(+) --- a/tools/include/linux/btf_ids.h +++ b/tools/include/linux/btf_ids.h @@ -3,6 +3,8 @@ #ifndef _LINUX_BTF_IDS_H #define _LINUX_BTF_IDS_H +#include <linux/types.h> /* for u32 */ + struct btf_id_set { u32 cnt; u32 ids[]; Patches currently in stable-queue which might be from ncopa@xxxxxxxxxxxxxxx are queue-6.7/tools-resolve_btfids-fix-build-with-musl-libc.patch