Re: [PATCH for-6.12-fixes] sched_ext: fix fmt__str variables in kfuncs

From: Thorsten Leemhuis
Date: Tue Oct 22 2024 - 05:59:04 EST


On 22.10.24 09:40, 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")

Thx for this: ran into a build error with my daily -next builds earlier
today[1] and this fixes things (it's still compiling, but I'm past the
point where this happened afaics).

Tested-by: Thorsten Leemhuis <linux@xxxxxxxxxxxxx>

Ciao, Thorsten

[1]
https://download.copr.fedorainfracloud.org/results/@kernel-vanilla/next/fedora-41-x86_64/08165136-next-next-all/builder-live.log.gz