On Tue, Nov 12, 2024 at 11:30:14AM +0000, Catalin Marinas wrote:
On Wed, Nov 06, 2024 at 05:07:51PM +0000, Mark Brown wrote:
fprintf(stderr, "Unexpected SVCR %llx\n", get_svcr());
return 1;
- }
I think I'll change both printf specifiers to %lx here since in the libc I have installed, uin64_t is an unsigned long (the kernel defines it as unsigned long long). Both gcc and clang complain but the compiler shouldn't matter since the headers come with glibc.
Makes sense. I do wish the compilers were more consistent with including these warnings :(