[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/36] hw/arm/virt.c: Remove newline from error_report() string
|
From: |
Peter Maydell |
|
Subject: |
[PULL 03/36] hw/arm/virt.c: Remove newline from error_report() string |
|
Date: |
Fri, 26 Jan 2024 14:33:08 +0000 |
error_report() strings should not include trailing newlines; remove
the newline from the error we print when devices won't fit into the
address space of the CPU.
This commit also fixes the accidental hardcoded tabs that were in
this line, since we have to touch the line anyway.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240118131649.2726375-1-peter.maydell@linaro.org
---
hw/arm/virt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 5cbc69dff83..ed4ed9f4142 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -1771,8 +1771,8 @@ static void virt_set_memmap(VirtMachineState *vms, int
pa_bits)
/* Base address of the high IO region */
memtop = base = device_memory_base + ROUND_UP(device_memory_size, GiB);
if (memtop > BIT_ULL(pa_bits)) {
- error_report("Addressing limited to %d bits, but memory exceeds it
by %llu bytes\n",
- pa_bits, memtop - BIT_ULL(pa_bits));
+ error_report("Addressing limited to %d bits, but memory exceeds it by
%llu bytes",
+ pa_bits, memtop - BIT_ULL(pa_bits));
exit(EXIT_FAILURE);
}
if (base < device_memory_base) {
--
2.34.1
- [PULL 00/36] target-arm queue, Peter Maydell, 2024/01/26
- [PULL 01/36] target/xtensa: fix OOB TLB entry access, Peter Maydell, 2024/01/26
- [PULL 05/36] hw/arm/allwinner-a10: Unconditionally map the USB Host controllers, Peter Maydell, 2024/01/26
- [PULL 07/36] hw/arm: Add EHCI/OHCI controllers to Allwinner R40 and Bananapi board, Peter Maydell, 2024/01/26
- [PULL 09/36] hw/arm: Add watchdog timer to Allwinner H40 and Bananapi board, Peter Maydell, 2024/01/26
- [PULL 02/36] target/arm: Fix VNCR fault detection logic, Peter Maydell, 2024/01/26
- [PULL 03/36] hw/arm/virt.c: Remove newline from error_report() string,
Peter Maydell <=
- [PULL 06/36] hw/arm/nseries: Unconditionally map the TUSB6010 USB Host controller, Peter Maydell, 2024/01/26
- [PULL 10/36] hw/arm/exynos4210: Include missing 'exec/tswap.h' header, Peter Maydell, 2024/01/26
- [PULL 11/36] hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header, Peter Maydell, 2024/01/26
- [PULL 13/36] hw/arm/xlnx-versal: Include missing 'cpu.h' header, Peter Maydell, 2024/01/26
- [PULL 15/36] target/arm/cpregs: Include missing 'hw/registerfields.h' header, Peter Maydell, 2024/01/26
- [PULL 04/36] hw/arm/musicpal: Convert to qemu_add_kbd_event_handler(), Peter Maydell, 2024/01/26
- [PULL 12/36] hw/arm/smmuv3: Include missing 'hw/registerfields.h' header, Peter Maydell, 2024/01/26
- [PULL 08/36] hw/arm: Add AHCI/SATA controller to Allwinner R40 and Bananapi board, Peter Maydell, 2024/01/26
- [PULL 20/36] target/arm: Declare ARM_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h', Peter Maydell, 2024/01/26
- [PULL 14/36] target/arm/cpu-features: Include missing 'hw/registerfields.h' header, Peter Maydell, 2024/01/26