Verified on a s390x Openstack VM with r/linux 7.0.0-28.28, I can see this issue does not exist anymore. Hint does not exist in our database. ** Changed in: ubuntu-kernel-tests Status: In Progress => Fix Released ** Changed in: linux (Ubuntu) Status: New => Invalid ** Tags removed: verification-needed-resolute-linux ** Tags added: verification-done-resolute-linux -- You received this bug notification because you are subscribed to linux in Ubuntu. Matching subscriptions: Bgg, Bmail, Nb https://bugs.launchpad.net/bugs/2154343 Title: ubuntu_bpf: FTBFS with clang 23 / gcc 15 Status in ubuntu-kernel-tests: Fix Released Status in linux package in Ubuntu: Invalid Status in linux source package in Resolute: Fix Committed Bug description: [Impact] tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c:117:12: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] [Fix] Apply the upstream fix: ``` commit ca0f39a369c5f927c3d004e63a5a778b08a9df94 Author: Varun R Mallya <varunrmallya@gmail.com> Date: Fri Mar 6 03:51:32 2026 +0530 selftests/bpf: Fix const qualifier warning in fexit_bpf2bpf.c Building selftests with clang 23.0.0 (6fae863eba8a72cdd82f37e7111a46a70be525e0) triggers the following error: tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c:117:12: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] The variable `tgt_name` is declared as `char *`, but it stores the result of strstr(prog_name[i], "/"). Since `prog_name[i]` is a `const char *`, the returned pointer should also be treated as const-qualified. Update `tgt_name` to `const char *` to match the type of the underlying string and silence the compiler warning. ``` [How to reproduce] Run test again after applying the patch [Regression potential] Low: clean upstream cherry-pick for a known issue. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2154343/+subscriptions
Комментариев нет:
Отправить комментарий