[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 13/16] i386/tdvf: Fix build on 32-bit host
From: |
Paolo Bonzini |
Subject: |
[PULL 13/16] i386/tdvf: Fix build on 32-bit host |
Date: |
Tue, 3 Jun 2025 23:45:20 +0200 |
From: Cédric Le Goater <clg@redhat.com>
Use PRI formats where required.
Cc: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Link: 20250602173101.1052983-3-clg@redhat.com">https://lore.kernel.org/r/20250602173101.1052983-3-clg@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
hw/i386/tdvf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/i386/tdvf.c b/hw/i386/tdvf.c
index bd993ea2f07..645d9d1294b 100644
--- a/hw/i386/tdvf.c
+++ b/hw/i386/tdvf.c
@@ -101,16 +101,16 @@ static int tdvf_parse_and_check_section_entry(const
TdvfSectionEntry *src,
/* sanity check */
if (entry->size < entry->data_len) {
- error_report("Broken metadata RawDataSize 0x%x MemoryDataSize 0x%lx",
+ error_report("Broken metadata RawDataSize 0x%x MemoryDataSize
0x%"PRIx64,
entry->data_len, entry->size);
return -1;
}
if (!QEMU_IS_ALIGNED(entry->address, TDVF_ALIGNMENT)) {
- error_report("MemoryAddress 0x%lx not page aligned", entry->address);
+ error_report("MemoryAddress 0x%"PRIx64" not page aligned",
entry->address);
return -1;
}
if (!QEMU_IS_ALIGNED(entry->size, TDVF_ALIGNMENT)) {
- error_report("MemoryDataSize 0x%lx not page aligned", entry->size);
+ error_report("MemoryDataSize 0x%"PRIx64" not page aligned",
entry->size);
return -1;
}
--
2.49.0
- [PULL 01/16] rust: bindings: allow ptr_offset_with_cast, (continued)
- [PULL 01/16] rust: bindings: allow ptr_offset_with_cast, Paolo Bonzini, 2025/06/03
- [PULL 03/16] rust: use "objects" for Rust executables as well, Paolo Bonzini, 2025/06/03
- [PULL 04/16] build, dockerfiles: add support for detecting rustdoc, Paolo Bonzini, 2025/06/03
- [PULL 06/16] rust: cell: remove support for running doctests with "cargo test --doc", Paolo Bonzini, 2025/06/03
- [PULL 07/16] rust: use native Meson support for clippy and rustdoc, Paolo Bonzini, 2025/06/03
- [PULL 05/16] rust: add qemu-api doctests to "meson test", Paolo Bonzini, 2025/06/03
- [PULL 09/16] target/i386: Add a new CPU feature word for CPUID.7.1.ECX, Paolo Bonzini, 2025/06/03
- [PULL 08/16] target/i386: Remove FRED dependency on WRMSRNS, Paolo Bonzini, 2025/06/03
- [PULL 10/16] target/i386: Add the immediate form MSR access instruction support, Paolo Bonzini, 2025/06/03
- [PULL 11/16] meson: use config_base_arch for target libraries, Paolo Bonzini, 2025/06/03
- [PULL 13/16] i386/tdvf: Fix build on 32-bit host,
Paolo Bonzini <=
- [PULL 12/16] i386/tdx: Fix build on 32-bit host, Paolo Bonzini, 2025/06/03
- [PULL 14/16] rust: add "bits", a custom bitflags implementation, Paolo Bonzini, 2025/06/03
- [PULL 02/16] meson: update to version 1.8.1, Paolo Bonzini, 2025/06/03
- [PULL 15/16] rust: pl011: use the bits macro, Paolo Bonzini, 2025/06/03
- [PULL 16/16] rust: qemu-api-macros: add from_bits and into_bits to #[derive(TryInto)], Paolo Bonzini, 2025/06/03
- Re: [PULL 00/16] rust, i386 changes for 2025-06-03, Stefan Hajnoczi, 2025/06/05