Linux kernel -stable discussions
 help / color / mirror / Atom feed
* BPF selftests compilation failure due to selftests-bpf-initialize-operation-name-before-use.patch
@ 2026-07-21  7:21 Shung-Hsi Yu
  2026-07-21  7:46 ` Greg KH
  2026-07-22  0:53 ` Sasha Levin
  0 siblings, 2 replies; 4+ messages in thread
From: Shung-Hsi Yu @ 2026-07-21  7:21 UTC (permalink / raw)
  To: Sasha Levin, stable

Hi Sasha,

I am running into BPF selftests compilation error on 6.18 (but it
possibly affect other branches as well, haven't check) due to
selftests-bpf-initialize-operation-name-before-use.patch currently
sitting in stable-queue:

/tmp/work/linux-stable/linux-stable/tools/testing/selftests/bpf/prog_tests/verifier_log.c: In function ‘verif_btf_log_subtest’:
/tmp/work/linux-stable/linux-stable/tools/testing/selftests/bpf/prog_tests/verifier_log.c:320:9: error: implicit declaration of function ‘strscpy’; did you mean ‘strlcpy’? [-Werror=implicit-function-declaration]
  320 |         strscpy(op_name, "log_fixed", sizeof(op_name));
      |         ^~~~~~~
      |         strlcpy

Can you pick up commit 63c49efc987a ("selftests/bpf: Add simple
strscpy() implementation") along? I think that should be enough to fix
the build failure.

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

end of thread, other threads:[~2026-07-23  2:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-21  7:21 BPF selftests compilation failure due to selftests-bpf-initialize-operation-name-before-use.patch Shung-Hsi Yu
2026-07-21  7:46 ` Greg KH
2026-07-22  0:53 ` Sasha Levin
2026-07-23  2:45   ` Shung-Hsi Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox