Re: [GIT PULL] kthreads fixes for v6.14-rc2
From: Linus Torvalds
Date: Tue Feb 04 2025 - 14:07:25 EST
On Tue, 4 Feb 2025 at 10:58, Frederic Weisbecker <frederic@xxxxxxxxxx> wrote:
>
> - Properly handle return value when allocation fails for the preferred
> affinity.
Well, we have exactly one caller of this function, and that caller
doesn't actually care about the return value.
The function is literally the "preferred" affinity. If the affinity
setup fails, it's harmless.
Anyway, the fix doesn't look wrong, and I've pulled it, but it's just
all very harmless. I think the "set but not used" error could have
been fixed by just removing the 'ret' variable entirely.
Linus