Re: [PATCH for-6.12-fixes] sched_ext: fix fmt__str variables in kfuncs
From: Tejun Heo
Date: Tue Oct 22 2024 - 11:42:35 EST
On Tue, Oct 22, 2024 at 09:40:35AM +0200, Andrea Righi 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>
Applied to sched_ext/for-6.12-fixes.
Thanks.
--
tejun