]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
util/vfio-helpers: Fix typo in description
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 11 Aug 2020 15:16:43 +0000 (17:16 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 1 Sep 2020 09:08:57 +0000 (11:08 +0200)
Remove the second 'and' introduced in commit 418026ca43
("util: Introduce vfio helpers").

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20200811151643.21293-4-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
util/vfio-helpers.c

index e399e330e26ad1f30143bb85677545894181a705..583bdfb36fc2ec3d6f92cffebd06cc60b60592ab 100644 (file)
@@ -173,7 +173,7 @@ void qemu_vfio_pci_unmap_bar(QEMUVFIOState *s, int index, void *bar,
 }
 
 /**
- * Initialize device IRQ with @irq_type and and register an event notifier.
+ * Initialize device IRQ with @irq_type and register an event notifier.
  */
 int qemu_vfio_pci_init_irq(QEMUVFIOState *s, EventNotifier *e,
                            int irq_type, Error **errp)
@@ -505,7 +505,7 @@ static IOVAMapping *qemu_vfio_find_mapping(QEMUVFIOState *s, void *host,
 }
 
 /**
- * Allocate IOVA and and create a new mapping record and insert it in @s.
+ * Allocate IOVA and create a new mapping record and insert it in @s.
  */
 static IOVAMapping *qemu_vfio_add_mapping(QEMUVFIOState *s,
                                           void *host, size_t size,