Skip to contentSkip to conversation

linux-user: Fix typo in function documentation for pgb_addr_set()

PATCH In review Helge Deller 3 participants 3 messages May 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-user: Fix typo in function documentation for pgb_addr_set()

From: Helge Deller <[email protected]>

The third parameter is called guest_hiaddr.

---
 linux-user/elfload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/elfload.c +1 -1
index 0e757787d2..f7625c0952 100644
@@ -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.
Signature · 1 line
2.54.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 24 lines · Helge Deller

From: Helge Deller <[email protected]>

The third parameter is called guest_hiaddr.

---
 linux-user/elfload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/elfload.c +1 -2
index 0e757787d2..f7625c0952 100644
@@ -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.
--
Quoted 1 line

2.54.0

thanks
-- PMM

Reviewed-by on v1 1/1
#2 lore raw
In reply to Helge Deller
Quoted 14 lines · Helge Deller

From: Helge Deller <[email protected]>

The third parameter is called guest_hiaddr.

---
 linux-user/elfload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux-user/elfload.c +0 -0
index 0e757787d2..f7625c0952 100644

linux-user/elfload.c static bool pgb_try_mmap_set(const PGBAddrs *ga, uintptr_t base, uintptr_t brk) · line 854

Quoted 8 lines
linux-user/elfload.c +1 -1
@@ -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.
Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro