summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-02-03 02:46:03 +0300
committerOliver Upton <oliver.upton@linux.dev>2024-02-12 23:41:49 +0300
commit06fdd894b473c6cc29c9b39b82e0941cefec4e51 (patch)
treefd430f5fafe26853bfade7ab8a3bcf12e980cc88 /lib/memory-notifier-error-inject.c
parenta02395d0f3bfa4b2d2a0aa53cc0f2eaeea0e3e66 (diff)
downloadlinux-06fdd894b473c6cc29c9b39b82e0941cefec4e51.tar.xz
KVM: selftests: Fix GUEST_PRINTF() format warnings in ARM code
Fix a pile of -Wformat warnings in the KVM ARM selftests code, almost all of which are benign "long" versus "long long" issues (selftests are 64-bit only, and the guest printf code treats "ll" the same as "l"). The code itself isn't problematic, but the warnings make it impossible to build ARM selftests with -Werror, which does detect real issues from time to time. Opportunistically have GUEST_ASSERT_BITMAP_REG() interpret set_expected, which is a bool, as an unsigned decimal value, i.e. have it print '0' or '1' instead of '0x0' or '0x1'. Signed-off-by: Sean Christopherson <seanjc@google.com> Tested-by: Zenghui Yu <yuzenghui@huawei.com> Link: https://lore.kernel.org/r/20240202234603.366925-1-seanjc@google.com Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions