[PATCH v3 01/21] klp-build: Reject patches to init/*.c
Song Liu
song at kernel.org
Fri May 15 14:16:26 PDT 2026
On Tue, May 12, 2026 at 8:35 PM Josh Poimboeuf <jpoimboe at kernel.org> 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 at kernel.org>
Acked-by: Song Liu <song at kernel.org>
More information about the linux-arm-kernel
mailing list