[GIT PULL] Clang feature fixes for v5.13-rc4

From: Kees Cook
Date: Fri May 28 2021 - 13:23:43 EST


Hi Linus,

Please pull these Clang feature fixes for v5.13-rc4. One small fix each
for LTO and CFI.

Thanks!

-Kees

The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:

Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/clang-features-v5.13-rc4

for you to fetch changes up to 24845dcb170e16b3100bd49743687648c71387ae:

Makefile: LTO: have linker check -Wframe-larger-than (2021-05-24 15:24:34 -0700)

----------------------------------------------------------------
Clang feature fixes for v5.13-rc4

- Correctly pass stack frame size checking under LTO (Nick Desaulniers)

- Avoid CFI mismatches by checking initcall_t types (Marco Elver)

----------------------------------------------------------------
Marco Elver (1):
init: verify that function is initcall_t at compile-time

Nick Desaulniers (1):
Makefile: LTO: have linker check -Wframe-larger-than

Makefile | 5 +++++
include/linux/init.h | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)

--
Kees Cook