[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 07/17] *-user: Improve documentation for lock_user fu
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 07/17] *-user: Improve documentation for lock_user function |
Date: |
Fri, 20 Sep 2013 20:58:06 +0400 |
From: Stefan Weil <address@hidden>
Add a missing "function" and replace "and" by "any".
BSD and Linux use the same documentation here, so fix both.
Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
bsd-user/qemu.h | 4 ++--
linux-user/qemu.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index 1f8ec6e..ddc74ed 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
@@ -323,9 +323,9 @@ abi_long copy_from_user(void *hptr, abi_ulong gaddr, size_t
len);
abi_long copy_to_user(abi_ulong gaddr, void *hptr, size_t len);
/* Functions for accessing guest memory. The tget and tput functions
- read/write single values, byteswapping as necessary. The lock_user
+ read/write single values, byteswapping as necessary. The lock_user function
gets a pointer to a contiguous area of guest memory, but does not perform
- and byteswapping. lock_user may return either a pointer to the guest
+ any byteswapping. lock_user may return either a pointer to the guest
memory, or a temporary buffer. */
/* Lock an area of guest memory into the host. If copy is true then the
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 4422dfc..617cac1 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -380,9 +380,9 @@ abi_long copy_from_user(void *hptr, abi_ulong gaddr, size_t
len);
abi_long copy_to_user(abi_ulong gaddr, void *hptr, size_t len);
/* Functions for accessing guest memory. The tget and tput functions
- read/write single values, byteswapping as necessary. The lock_user
+ read/write single values, byteswapping as necessary. The lock_user function
gets a pointer to a contiguous area of guest memory, but does not perform
- and byteswapping. lock_user may return either a pointer to the guest
+ any byteswapping. lock_user may return either a pointer to the guest
memory, or a temporary buffer. */
/* Lock an area of guest memory into the host. If copy is true then the
--
1.7.10.4
- [Qemu-devel] [PULL 09/17] trace-events: Clean up with scripts/cleanup-trace-events.pl again, (continued)
- [Qemu-devel] [PULL 09/17] trace-events: Clean up with scripts/cleanup-trace-events.pl again, Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 06/17] MAINTAINERS: Add missing entry to filelist for TCI target, Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 05/17] translate-all: Fix formatting of dump output, Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 02/17] q35: Fix typo in constant DEFUALT -> DEFAULT., Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 04/17] *-user: Fix typo in comment (ulocking -> unlocking), Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 11/17] iov: avoid "orig_len may be used unitialized" warning, Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 14/17] tcg-sparc: Fix parenthesis warning, Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 17/17] tests/.gitignore: ignore test-throttle, Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 08/17] tci: Fix qemu-alpha on 32 bit hosts (wrong assertions), Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 10/17] vscclient: remove unnecessary use of uninitialized variable, Michael Tokarev, 2013/09/20
- [Qemu-devel] [PULL 07/17] *-user: Improve documentation for lock_user function,
Michael Tokarev <=
- [Qemu-devel] [PULL 15/17] kvm: Fix compiler warning (clang), Michael Tokarev, 2013/09/20