Commit cc39416ec1 for qemu.org
commit cc39416ec173f9fc4b0581f0078401858ed451a6
Author: Helge Deller <deller@gmx.de>
Date: Tue May 26 12:41:02 2026 +0200
linux-user: Fix typo in function documentation for pgb_addr_set()
The third parameter is called guest_hiaddr.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 0e757787d2..f7625c0952 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -848,7 +848,7 @@ static bool pgb_try_mmap_set(const PGBAddrs *ga, uintptr_t base, uintptr_t brk)
* pgb_addr_set:
* @ga: output set of guest addrs
* @guest_loaddr: guest image low address
- * @guest_loaddr: guest image high address
+ * @guest_hiaddr: guest image high address
* @identity: create for identity mapping
*
* Fill in @ga with the image, COMMPAGE and NULL page.