Bug 218647
Summary: | stable kernels 6.6.23 and 6.1.83 fails to build: error: unknown type name 'u32' | ||
---|---|---|---|
Product: | Linux | Reporter: | ncopa |
Component: | Kernel | Assignee: | Virtual assignee for kernel bugs (linux-kernel) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | bagasdotme |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: |
Description
ncopa
2024-03-27 08:07:42 UTC
in linux-6.6.y, it was introduced with: commit 29d1ee8e7aa219c99187fe13c342d267b731dfe3 Author: Viktor Malik <vmalik@redhat.com> Date: Tue Feb 6 13:46:09 2024 +0100 tools/resolve_btfids: Refactor set sorting with types from btf_ids.h [ Upstream commit 9707ac4fe2f5bac6406d2403f8b8a64d7b3d8e43 ] The fix is: diff --git a/tools/include/linux/btf_ids.h b/tools/include/linux/btf_ids.h index 72535f00572f..72ea363d434d 100644 --- 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[]; Forwarded to mailing list at [1]. [1]: https://lore.kernel.org/regressions/ZgrAM4NjZQWZ2Jq6@archie.me/ this is fixed in 6.6.24 and 6.1.84 |