Parcourir la source

Trivial: 3 char repeat typos

Inspired by Julia Lawall's fixing of Linux
kernel comments, I looked at qemu, although I did it manually.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Message-Id: <20220614104045.85728-2-dgilbert@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Dr. David Alan Gilbert il y a 3 ans
Parent
commit
118d4ed045
9 fichiers modifiés avec 10 ajouts et 9 suppressions
  1. 1 1
      hw/intc/openpic.c
  2. 1 1
      hw/net/imx_fec.c
  3. 1 1
      hw/pci/pcie_aer.c
  4. 2 1
      hw/pci/shpc.c
  5. 1 1
      hw/ppc/spapr_caps.c
  6. 1 1
      hw/scsi/spapr_vscsi.c
  7. 1 1
      qapi/net.json
  8. 1 1
      tools/virtiofsd/passthrough_ll.c
  9. 1 1
      ui/input.c

+ 1 - 1
hw/intc/openpic.c

@@ -729,7 +729,7 @@ static void openpic_tmr_set_tmr(OpenPICTimer *tmr, uint32_t val, bool enabled)
 }
 }
 
 
 /*
 /*
- * Returns the currrent tccr value, i.e., timer value (in clocks) with
+ * Returns the current tccr value, i.e., timer value (in clocks) with
  * appropriate TOG.
  * appropriate TOG.
  */
  */
 static uint64_t openpic_tmr_get_timer(OpenPICTimer *tmr)
 static uint64_t openpic_tmr_get_timer(OpenPICTimer *tmr)

+ 1 - 1
hw/net/imx_fec.c

@@ -438,7 +438,7 @@ static void imx_eth_update(IMXFECState *s)
      *   assignment fail.
      *   assignment fail.
      *
      *
      * To ensure that all versions of Linux work, generate ENET_INT_MAC
      * To ensure that all versions of Linux work, generate ENET_INT_MAC
-     * interrrupts on both interrupt lines. This should be changed if and when
+     * interrupts on both interrupt lines. This should be changed if and when
      * qemu supports IOMUX.
      * qemu supports IOMUX.
      */
      */
     if (s->regs[ENET_EIR] & s->regs[ENET_EIMR] &
     if (s->regs[ENET_EIR] & s->regs[ENET_EIMR] &

+ 1 - 1
hw/pci/pcie_aer.c

@@ -323,7 +323,7 @@ static void pcie_aer_msg_root_port(PCIDevice *dev, const PCIEAERMsg *msg)
          */
          */
     }
     }
 
 
-    /* Errro Message Received: Root Error Status register */
+    /* Error Message Received: Root Error Status register */
     switch (msg->severity) {
     switch (msg->severity) {
     case PCI_ERR_ROOT_CMD_COR_EN:
     case PCI_ERR_ROOT_CMD_COR_EN:
         if (root_status & PCI_ERR_ROOT_COR_RCV) {
         if (root_status & PCI_ERR_ROOT_COR_RCV) {

+ 2 - 1
hw/pci/shpc.c

@@ -480,7 +480,8 @@ static const MemoryRegionOps shpc_mmio_ops = {
     .endianness = DEVICE_LITTLE_ENDIAN,
     .endianness = DEVICE_LITTLE_ENDIAN,
     .valid = {
     .valid = {
         /* SHPC ECN requires dword accesses, but the original 1.0 spec doesn't.
         /* SHPC ECN requires dword accesses, but the original 1.0 spec doesn't.
-         * It's easier to suppport all sizes than worry about it. */
+         * It's easier to support all sizes than worry about it.
+         */
         .min_access_size = 1,
         .min_access_size = 1,
         .max_access_size = 4,
         .max_access_size = 4,
     },
     },

+ 1 - 1
hw/ppc/spapr_caps.c

@@ -553,7 +553,7 @@ static void cap_ccf_assist_apply(SpaprMachineState *spapr, uint8_t val,
              * instruction is a harmless no-op.  It won't correctly
              * instruction is a harmless no-op.  It won't correctly
              * implement the cache count flush *but* if we have
              * implement the cache count flush *but* if we have
              * count-cache-disabled in the host, that flush is
              * count-cache-disabled in the host, that flush is
-             * unnnecessary.  So, specifically allow this case.  This
+             * unnecessary.  So, specifically allow this case.  This
              * allows us to have better performance on POWER9 DD2.3,
              * allows us to have better performance on POWER9 DD2.3,
              * while still working on POWER9 DD2.2 and POWER8 host
              * while still working on POWER9 DD2.2 and POWER8 host
              * cpus.
              * cpus.

+ 1 - 1
hw/scsi/spapr_vscsi.c

@@ -1013,7 +1013,7 @@ static int vscsi_send_capabilities(VSCSIState *s, vscsi_req *req)
     }
     }
 
 
     /*
     /*
-     * Current implementation does not suppport any migration or
+     * Current implementation does not support any migration or
      * reservation capabilities. Construct the response telling the
      * reservation capabilities. Construct the response telling the
      * guest not to use them.
      * guest not to use them.
      */
      */

+ 1 - 1
qapi/net.json

@@ -298,7 +298,7 @@
 #
 #
 # @udp: use the udp version of l2tpv3 encapsulation
 # @udp: use the udp version of l2tpv3 encapsulation
 #
 #
-# @cookie64: use 64 bit coookies
+# @cookie64: use 64 bit cookies
 #
 #
 # @counter: have sequence counter
 # @counter: have sequence counter
 #
 #

+ 1 - 1
tools/virtiofsd/passthrough_ll.c

@@ -2319,7 +2319,7 @@ static int do_lo_create(fuse_req_t req, struct lo_inode *parent_inode,
          * If security.selinux has not been remapped and selinux is enabled,
          * If security.selinux has not been remapped and selinux is enabled,
          * use fscreate to set context before file creation. If not, use
          * use fscreate to set context before file creation. If not, use
          * tmpfile method for regular files. Otherwise fallback to
          * tmpfile method for regular files. Otherwise fallback to
-         * non-atomic method of file creation and xattr settting.
+         * non-atomic method of file creation and xattr setting.
          */
          */
         if (!mapped_name && lo->use_fscreate) {
         if (!mapped_name && lo->use_fscreate) {
             err = do_create_secctx_fscreate(req, parent_inode, name, mode, fi,
             err = do_create_secctx_fscreate(req, parent_inode, name, mode, fi,

+ 1 - 1
ui/input.c

@@ -364,7 +364,7 @@ void qemu_input_event_send(QemuConsole *src, InputEvent *evt)
      * when 'alt+print' was pressed. This flaw is now fixed and the
      * when 'alt+print' was pressed. This flaw is now fixed and the
      * 'sysrq' key serves no further purpose. We normalize it to
      * 'sysrq' key serves no further purpose. We normalize it to
      * 'print', so that downstream receivers of the event don't
      * 'print', so that downstream receivers of the event don't
-     * neeed to deal with this mistake
+     * need to deal with this mistake
      */
      */
     if (evt->type == INPUT_EVENT_KIND_KEY &&
     if (evt->type == INPUT_EVENT_KIND_KEY &&
         evt->u.key.data->key->u.qcode.data == Q_KEY_CODE_SYSRQ) {
         evt->u.key.data->key->u.qcode.data == Q_KEY_CODE_SYSRQ) {