qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] misc: Fix "havn't" typo


From: Laurent Vivier
Subject: Re: [PATCH v2] misc: Fix "havn't" typo
Date: Fri, 9 Jul 2021 11:05:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Le 29/06/2021 à 07:14, Philippe Mathieu-Daudé a écrit :
> Fix "havn't (make)" -> "haven't (made)" typo.
> 
> Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  hw/usb/desc-msos.c         | 2 +-
>  target/s390x/translate.c   | 6 ++++--
>  tcg/tcg-op.c               | 2 +-
>  tcg/arm/tcg-target.c.inc   | 6 ++++--
>  tcg/sparc/tcg-target.c.inc | 6 ++++--
>  5 files changed, 14 insertions(+), 8 deletions(-)
> 
> diff --git a/hw/usb/desc-msos.c b/hw/usb/desc-msos.c
> index 3a5ad7c8d0f..836e38c67e1 100644
> --- a/hw/usb/desc-msos.c
> +++ b/hw/usb/desc-msos.c
> @@ -181,7 +181,7 @@ static int usb_desc_msos_prop(const USBDesc *desc, 
> uint8_t *dest)
>  
>      if (desc->msos->Label) {
>          /*
> -         * Given as example in the specs.  Havn't figured yet where
> +         * Given as example in the specs.  Haven't figured yet where
>           * this label shows up in the windows gui.
>           */
>          length += usb_desc_msos_prop_str(dest+length, MSOS_REG_SZ,
> diff --git a/target/s390x/translate.c b/target/s390x/translate.c
> index e243624d2a6..6ac797a8a94 100644
> --- a/target/s390x/translate.c
> +++ b/target/s390x/translate.c
> @@ -6270,8 +6270,10 @@ static void extract_field(DisasFields *o, const 
> DisasField *f, uint64_t insn)
>          abort();
>      }
>  
> -    /* Validate that the "compressed" encoding we selected above is valid.
> -       I.e. we havn't make two different original fields overlap.  */
> +    /*
> +     * Validate that the "compressed" encoding we selected above is valid.
> +     * I.e. we haven't made two different original fields overlap.
> +     */
>      assert(((o->presentC >> f->indexC) & 1) == 0);
>      o->presentC |= 1 << f->indexC;
>      o->presentO |= 1 << f->indexO;
> diff --git a/tcg/tcg-op.c b/tcg/tcg-op.c
> index dcc2ed0bbc8..869dc6cdd29 100644
> --- a/tcg/tcg-op.c
> +++ b/tcg/tcg-op.c
> @@ -2695,7 +2695,7 @@ void tcg_gen_goto_tb(unsigned idx)
>      /* We only support two chained exits.  */
>      tcg_debug_assert(idx <= TB_EXIT_IDXMAX);
>  #ifdef CONFIG_DEBUG_TCG
> -    /* Verify that we havn't seen this numbered exit before.  */
> +    /* Verify that we haven't seen this numbered exit before.  */
>      tcg_debug_assert((tcg_ctx->goto_tb_issue_mask & (1 << idx)) == 0);
>      tcg_ctx->goto_tb_issue_mask |= 1 << idx;
>  #endif
> diff --git a/tcg/arm/tcg-target.c.inc b/tcg/arm/tcg-target.c.inc
> index 51571432460..5882479f3d3 100644
> --- a/tcg/arm/tcg-target.c.inc
> +++ b/tcg/arm/tcg-target.c.inc
> @@ -2444,8 +2444,10 @@ static TCGConstraintSetIndex 
> tcg_target_op_def(TCGOpcode op)
>  
>  static void tcg_target_init(TCGContext *s)
>  {
> -    /* Only probe for the platform and capabilities if we havn't already
> -       determined maximum values at compile time.  */
> +    /*
> +     * Only probe for the platform and capabilities if we haven't already
> +     * determined maximum values at compile time.
> +     */
>  #if !defined(use_idiv_instructions) || !defined(use_neon_instructions)
>      {
>          unsigned long hwcap = qemu_getauxval(AT_HWCAP);
> diff --git a/tcg/sparc/tcg-target.c.inc b/tcg/sparc/tcg-target.c.inc
> index a6ec94a094f..688827968b0 100644
> --- a/tcg/sparc/tcg-target.c.inc
> +++ b/tcg/sparc/tcg-target.c.inc
> @@ -1690,8 +1690,10 @@ static TCGConstraintSetIndex 
> tcg_target_op_def(TCGOpcode op)
>  
>  static void tcg_target_init(TCGContext *s)
>  {
> -    /* Only probe for the platform and capabilities if we havn't already
> -       determined maximum values at compile time.  */
> +    /*
> +     * Only probe for the platform and capabilities if we haven't already
> +     * determined maximum values at compile time.
> +     */
>  #ifndef use_vis3_instructions
>      {
>          unsigned long hwcap = qemu_getauxval(AT_HWCAP);
> 

Applied to my trivial-patches branch.

Thanks,
Laurent




reply via email to

[Prev in Thread] Current Thread [Next in Thread]