mbox series

[0/3] kbuild: propagate CONFIG_WERROR to resolve_btfids

Message ID 20241123-resolve_btfids-v1-0-927700b641d1@weissschuh.net (mailing list archive)
Headers show
Series kbuild: propagate CONFIG_WERROR to resolve_btfids | expand

Message

Thomas Weißschuh Nov. 23, 2024, 1:33 p.m. UTC
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@weissschuh.net/

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
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,