aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2019-02-26 15:21:07 +0100
committerLaurent Vivier <laurent@vivier.eu>2019-03-06 10:45:06 +0100
commitacfea13780ab3e98fc9fa5f7773da6ee7472c42b (patch)
tree6fb8465920dfcd515f2266f7ee0cbbd9009845d2 /include
parent806be3734c3c55357f15ab6548df86433f81859f (diff)
downloadqemu-acfea13780ab3e98fc9fa5f7773da6ee7472c42b.zip
qemu-acfea13780ab3e98fc9fa5f7773da6ee7472c42b.tar.gz
qemu-acfea13780ab3e98fc9fa5f7773da6ee7472c42b.tar.bz2
bswap: Fix accessors syntax in comment
All accessors that have an endian infix DO have an underscore between {size} and {endian}. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <155119086741.1037569.12734854713022304642.stgit@bahia.lan> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/bswap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
index a684c1a..5a70f78 100644
--- a/include/qemu/bswap.h
+++ b/include/qemu/bswap.h
@@ -255,9 +255,9 @@ typedef union {
/*
* the generic syntax is:
*
- * load: ld{type}{sign}{size}{endian}_p(ptr)
+ * load: ld{type}{sign}{size}_{endian}_p(ptr)
*
- * store: st{type}{size}{endian}_p(ptr, val)
+ * store: st{type}{size}_{endian}_p(ptr, val)
*
* Note there are small differences with the softmmu access API!
*
@@ -293,10 +293,10 @@ typedef union {
*
* For cases where the size to be used is not fixed at compile time,
* there are
- * stn{endian}_p(ptr, sz, val)
+ * stn_{endian}_p(ptr, sz, val)
* which stores @val to @ptr as an @endian-order number @sz bytes in size
* and
- * ldn{endian}_p(ptr, sz)
+ * ldn_{endian}_p(ptr, sz)
* which loads @sz bytes from @ptr as an unsigned @endian-order number
* and returns it in a uint64_t.
*/