Re: [GIT PULL] objtool fixes

From: Linus Torvalds
Date: Thu Apr 03 2025 - 11:41:58 EST


On Thu, 3 Apr 2025 at 01:31, Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> Ugh, fragile hard-coded special cases like that are exactly what we're
> trying to get away from. They make the code unmaintainable and they end
> up triggering false positives, just like the one fixed by that patch in
> the first place.

Josh, the "unmaintainable" is more important for the *kernel* than for objtool.

And the whole *point* of objtool is to check the object file and do
those "hard-coded special cases".

So the argument makes no sense.

Linus