diff mbox series

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

Message ID 20210629051400.2573253-1-f4bug@amsat.org (mailing list archive)
State New, archived
Headers show
Series [v2] misc: Fix "havn't" typo | expand

Commit Message

Philippe Mathieu-Daudé June 29, 2021, 5:14 a.m. UTC
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(-)

Comments

Peter Maydell June 29, 2021, 8:56 a.m. UTC | #1
On Tue, 29 Jun 2021 at 06:15, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> 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>
> ---


Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM
Laurent Vivier July 9, 2021, 9:05 a.m. UTC | #2
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
diff mbox series

Patch

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);