Re: [PATCH v3 01/21] klp-build: Reject patches to init/*.c
From: Song Liu
Date: Fri May 15 2026 - 17:28:55 EST
On Tue, May 12, 2026 at 8:35 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> init/Makefile hard-codes -fno-function-sections and -fno-data-sections,
> overriding the klp-build flags needed for patch generation.
>
> Don't allow any changes to those files; being init code they aren't
> really patchable anyway.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Acked-by: Song Liu <song@xxxxxxxxxx>