[PATCH 6.1.y RESEND v2] KVM: arm64: sys_regs: disable -Wuninitialized-const-pointer warning

Tiffany Yang ynaffit at google.com
Mon Dec 29 18:22:49 PST 2025


Justin Stitt <justinstitt at google.com> writes:

> A new warning in Clang 22 [1] complains that @clidr passed to
> get_clidr_el1() is an uninitialized const pointer. get_clidr_el1()
> doesn't really care since it casts away the const-ness anyways -- it is
> a false positive.

<snip>

Reviewed-by: Tiffany Yang <ynaffit at google.com>

-- 
Tiffany Y. Yang



More information about the linux-arm-kernel mailing list