diff mbox

[5/6] bswap.h: Fix comment typo

Message ID 1467125451-16700-6-git-send-email-peter.maydell@linaro.org
State New
Headers show

Commit Message

Peter Maydell June 28, 2016, 2:50 p.m. UTC
Fix a typo in a comment.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 include/qemu/bswap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefan Weil June 28, 2016, 3:05 p.m. UTC | #1
Am 28.06.2016 um 16:50 schrieb Peter Maydell:
> Fix a typo in a comment.
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  include/qemu/bswap.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
> index 3b48cf4..a17d9aa 100644
> --- a/include/qemu/bswap.h
> +++ b/include/qemu/bswap.h
> @@ -116,7 +116,7 @@ static inline uint32_t qemu_bswap_len(uint32_t value, int len)
>  }
>  
>  /*
> - * Same as cpu_to_le{16,23}, except that gcc will figure the result is
> + * Same as cpu_to_le{16,32}, except that gcc will figure the result is
>   * a compile-time constant if you pass in a constant.  So this can be
>   * used to initialize static variables.
>   */
> 


Reviewed-by: Stefan Weil <sw@weilnetz.de>
diff mbox

Patch

diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
index 3b48cf4..a17d9aa 100644
--- a/include/qemu/bswap.h
+++ b/include/qemu/bswap.h
@@ -116,7 +116,7 @@  static inline uint32_t qemu_bswap_len(uint32_t value, int len)
 }
 
 /*
- * Same as cpu_to_le{16,23}, except that gcc will figure the result is
+ * Same as cpu_to_le{16,32}, except that gcc will figure the result is
  * a compile-time constant if you pass in a constant.  So this can be
  * used to initialize static variables.
  */