[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166463570274.4070760.11444179166073924518.b4-ty@chromium.org>
Date: Sat, 1 Oct 2022 07:48:25 -0700
From: Kees Cook <keescook@...omium.org>
To: samitolvanen@...gle.com, masahiroy@...nel.org,
michal.lkml@...kovi.net
Cc: Kees Cook <keescook@...omium.org>, trix@...hat.com,
llvm@...ts.linux.dev, nathan@...nel.org, ndesaulniers@...gle.com,
linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
On Fri, 30 Sep 2022 20:33:10 +0000, Sami Tolvanen wrote:
> We enable -Wcast-function-type globally in the kernel to warn about
> mismatching types in function pointer casts. Compilers currently
> warn only about ABI incompability with this flag, but Clang 16 will
> enable a stricter version of the check by default that checks for an
> exact type match. This will be very noisy in the kernel, so disable
> -Wcast-function-type-strict without W=1 until the new warnings have
> been addressed.
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
https://git.kernel.org/kees/c/2120635108b3
--
Kees Cook
Powered by blists - more mailing lists