Use CONFIG_WERROR to also fail on warnings emitted by resolve_btfids. Allow the CI bots to prevent the introduction of new warnings. This series currently depends on "[PATCH] bpf, lsm: Fix getlsmprop hooks BTF IDs" [0] [0] https://lore.kernel.org/lkml/20241123-bpf_lsm_task_getsecid_obj-v1-1-0d0f94649e05@xxxxxxxxxxxxxx/ Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx> --- Thomas Weißschuh (3): kbuild: add dependency from vmlinux to resolve_btfids tools/resolve_btfids: Add --fatal-warnings option kbuild: propagate CONFIG_WERROR to resolve_btfids scripts/Makefile.vmlinux | 3 +++ scripts/link-vmlinux.sh | 6 +++++- tools/bpf/resolve_btfids/main.c | 12 ++++++++++-- 3 files changed, 18 insertions(+), 3 deletions(-) --- base-commit: 228a1157fb9fec47eb135b51c0202b574e079ebf change-id: 20241123-resolve_btfids-eb95c9b42d00 Best regards, -- Thomas Weißschuh <linux@xxxxxxxxxxxxxx>