On Mon, Feb 10, 2025 at 07:43:03PM +0000, Libo Chen wrote:
On Jan 23, 2025, at 09:12, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote: Ihor Solodrai (1): selftests/sched_ext: fix build after renames in sched_ext API
Hi Greg,
I think the commit "selftests/sched_ext: fix build after renames in sched_ext API” was wrongly pulled into the stable 6.12.y without the sched_ext API changes introduced by Tejun’s series: https://lore.kernel.org/all/20241110200308.103681-1-tj@kernel.org. As a result, the sched_ext selftests compilation fails starting from v6.12.11:
exit.bpf.c:36:2: error: call to undeclared function 'scx_bpf_dsq_insert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | scx_bpf_dsq_insert(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); | ^ exit.bpf.c:44:2: error: call to undeclared function 'scx_bpf_dsq_move_to_local'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | scx_bpf_dsq_move_to_local(DSQ_ID); | ^ 2 errors generated. ...
Thanks for catching this (nit, can you trim your reply, it's hard to find it in a huge email like this.)
Can you send a revert to fix this up?
thanks,
greg k-h