[RFC PATCH v2 08/21] psci: Fix the function type for psci_initcall_t

Kees Cook keescook at chromium.org
Sat May 14 14:50:05 PDT 2022


On Fri, May 13, 2022 at 01:21:46PM -0700, Sami Tolvanen wrote:
> Functions called through a psci_initcall_t pointer all have
> non-const arguments. Fix the type definition to avoid tripping
> indirect call checks with CFI_CLANG.
> 
> Reported-by: Mark Rutland <mark.rutland at arm.com>
> Signed-off-by: Sami Tolvanen <samitolvanen at google.com>

This could land separately from this series, too, yes?

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook



More information about the linux-arm-kernel mailing list