On Mon, 4 May 2026 at 16:20, Quentin Schulz <[email protected]> wrote: > > From: Quentin Schulz <[email protected]> > > [ Upstream commit 7eb8e5f073051eebbf55fa6b90ed2246c2274552 ] > > Original commit log: > > This is no longer a valid option in clang, it was removed in 3.5, which > we don't support. > > > https://github.com/llvm/llvm-project/commit/cb3f812b6b9fab8f3b41414f24e90222170417b4 > > [git conflict in context due to commit 52ee1a0294e8 ("global: Disable > deprecated-non-prototype warning with clang")] > Signed-off-by: Quentin Schulz <[email protected]> > ---
Reviewed-by: Ilias Apalodimas <[email protected]> > Makefile | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 0404657dac6..a0e9406bc59 100644 > --- a/Makefile > +++ b/Makefile > @@ -1007,7 +1007,6 @@ KBUILD_CFLAGS += $(call cc-disable-warning, > tautological-compare) > # source of a reference will be _MergedGlobals and not on of the whitelisted > names. > # See modpost pattern 2 > KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,) > -KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior) > KBUILD_CFLAGS += $(call cc-disable-warning, deprecated-non-prototype) > else > > > -- > 2.54.0 >

