All of lore.kernel.org
 help / color / mirror / Atom feed
* bpf selftest build error - undeclared function 'bpf_qdisc_skb_drop'
@ 2025-07-31  2:21 Vincent Li
  2025-07-31  2:29 ` Tiezhu Yang
  2025-07-31  2:29 ` Chenghao Duan
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent Li @ 2025-07-31  2:21 UTC (permalink / raw)
  To: Tiezhu Yang, Chenghao Duan, loongarch

Hi Tiezhu and Chenghao,

While attempting to test the bpf trampoline patches on loongarch on
top of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git,
 I ran into bpf selftest build error irrelevant to the bpf trampoline

  CLNG-BPF [test_progs] bpf_qdisc_fail__incompl_ops.bpf.o
progs/bpf_qdisc_fail__incompl_ops.c:13:2: error: call to undeclared
function 'bpf_qdisc_skb_drop'; ISO C99 and later do not support
implicit function declarations [-Wimplicit-function-declaration]
   13 |         bpf_qdisc_skb_drop(skb, to_free);
      |         ^

I am on Fedora 38 ( I should have updated to newer Fedora :)) with
clang version 18.1.0rc, not sure if it is related, wonder if you guys
have run into similar issues.

Vincent

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-31  3:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31  2:21 bpf selftest build error - undeclared function 'bpf_qdisc_skb_drop' Vincent Li
2025-07-31  2:29 ` Tiezhu Yang
2025-07-31  2:59   ` Vincent Li
2025-07-31  2:29 ` Chenghao Duan
2025-07-31  3:08   ` Vincent Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.