[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PULL 07/10] bswap: Fix accessors syntax in comment
From: |
Laurent Vivier |
Subject: |
[qemu-s390x] [PULL 07/10] bswap: Fix accessors syntax in comment |
Date: |
Wed, 6 Mar 2019 12:07:08 +0100 |
From: Greg Kurz <address@hidden>
All accessors that have an endian infix DO have an underscore between
{size} and {endian}.
Signed-off-by: Greg Kurz <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
include/qemu/bswap.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
index a684c1a7a298..5a70f78c0ba4 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.
*/
--
2.20.1
- [qemu-s390x] [PULL 00/10] Trivial branch patches, Laurent Vivier, 2019/03/06
- [qemu-s390x] [PULL 05/10] block/pflash_cfi02: Fix memory leak and potential use-after-free, Laurent Vivier, 2019/03/06
- [qemu-s390x] [PULL 07/10] bswap: Fix accessors syntax in comment,
Laurent Vivier <=
- [qemu-s390x] [PULL 04/10] hw/acpi: remove unnecessary variable acpi_table_builtin, Laurent Vivier, 2019/03/06
- [qemu-s390x] [PULL 03/10] hw/acpi: remove unused function acpi_table_add_builtin(), Laurent Vivier, 2019/03/06
- [qemu-s390x] [PULL 02/10] hw/i386/pc.c: remove unused function pc_acpi_init(), Laurent Vivier, 2019/03/06
- [qemu-s390x] [PULL 10/10] thunk: fix of malloc to g_new, Laurent Vivier, 2019/03/06
- [qemu-s390x] [PULL 08/10] build: Correct explanation of unnest-vars example, Laurent Vivier, 2019/03/06
- [qemu-s390x] [PULL 09/10] hostmem-file: simplify ifdef-s in file_backend_memory_alloc(), Laurent Vivier, 2019/03/06
- [qemu-s390x] [PULL 06/10] doc: fix typos for documents in tree, Laurent Vivier, 2019/03/06
- [qemu-s390x] [PULL 01/10] tests: Remove (mostly) useless architecture checks, Laurent Vivier, 2019/03/06
- Re: [qemu-s390x] [Qemu-devel] [PULL 00/10] Trivial branch patches, Peter Maydell, 2019/03/06