On Fri, Aug 16, 2024 at 04:32:49PM +0100, Andre Przywara wrote:
When printing the signal context's PC, we use a "%lx" format specifier, which matches the common userland (glibc's) definition of uint64_t as an "unsigned long". However the structure in question is defined in a kernel uapi header, which uses a self defined __u64 type, and the arm64 kernel headers define this using "int-ll64.h", so it becomes an "unsigned long long". This mismatch leads to the usual compiler warning.
Reviewed-by: Mark Brown broonie@kernel.org