Re: [PATCH for-6.12-fixes] sched_ext: fix fmt__str variables in kfuncs
From: Kumar Kartikeya Dwivedi
Date: Tue Oct 22 2024 - 06:10:57 EST
On Tue, 22 Oct 2024 at 09:40, Andrea Righi <andrea.righi@xxxxxxxxx> wrote:
>
> Commit 3e99aee7ce48 ("sched-ext: Use correct annotation for strings in
> kfuncs") renamed some parameters without updating the body of the
> functions, triggering build errors like this:
>
> kernel/sched/ext.c:6881:45: error: ‘fmt’ undeclared (first use in this function)
> 6881 | if (bstr_format(&scx_exit_bstr_buf, fmt, data, data__sz) >= 0)
> | ^~~
>
> Fix by renaming also the varibles in the affected kfuncs.
>
> Fixes: 3e99aee7ce48 ("sched-ext: Use correct annotation for strings in kfuncs")
> Signed-off-by: Andrea Righi <andrea.righi@xxxxxxxxx>
> ---
Ah, thanks, this is embarrassing.
I didn't realize sched-ext was disabled in the .config when testing
this with other patches in the queue.
Sorry about that.
Acked-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>