diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2022-07-25 04:04:44 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-07-25 04:04:44 +0200 |
commit | e7c45a08451e7a7499f1029522a70bbb15072be2 (patch) | |
tree | ec12c647ec501e11ea1c204cc18f6f320517dd7b /arch/powerpc/kernel/Makefile | |
parent | macintosh/adb: fix oob read in do_adb_query() function (diff) | |
parent | powerpc/64s: Disable stack variable initialisation for prom_init (diff) | |
download | linux-e7c45a08451e7a7499f1029522a70bbb15072be2.tar.xz linux-e7c45a08451e7a7499f1029522a70bbb15072be2.zip |
Merge branch 'fixes' into next
Bring in a build fix for GCC12 from our fixes branch.
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 317c984ee9d0..de954fe106c5 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile @@ -20,6 +20,7 @@ CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) CFLAGS_prom_init.o += -fno-stack-protector CFLAGS_prom_init.o += -DDISABLE_BRANCH_PROFILING CFLAGS_prom_init.o += -ffreestanding +CFLAGS_prom_init.o += $(call cc-option, -ftrivial-auto-var-init=uninitialized) ifdef CONFIG_FUNCTION_TRACER # Do not trace early boot code |