Skip to contentSkip to conversation

xen/pciback: fix typo in a comment

PATCH In review Jason Wang 2 participants 2 messages Dec 12, 2021 – Dec 15, 2021 Xen hypervisor interface

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 xen/pciback: fix typo in a comment

The double `the' in the comment in line 163 is repeated. Remove it from the comment.

---
 drivers/xen/xen-pciback/pciback_ops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/xen-pciback/pciback_ops.c +1 -1
index 3fbc21466a93..e38b43b5065e 100644
@@ -160,7 +160,7 @@ int xen_pcibk_enable_msi(struct xen_pcibk_device *pdev,
 	}
 
 	/* The value the guest needs is actually the IDT vector, not the
-	 * the local domain's IRQ number. */
+	 * local domain's IRQ number. */
 
 	op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0;
 
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 13 lines · Jason Wang

The double `the' in the comment in line 163 is repeated. Remove it from the comment.

---
  drivers/xen/xen-pciback/pciback_ops.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/xen-pciback/pciback_ops.c +0 -0
index 3fbc21466a93..e38b43b5065e 100644

drivers/xen/xen-pciback/pciback_ops.c int xen_pcibk_enable_msi(struct xen_pcibk_device *pdev, · line 163

Quoted 5 lines
drivers/xen/xen-pciback/pciback_ops.c +1 -1
@@ -160,7 +160,7 @@ int xen_pcibk_enable_msi(struct xen_pcibk_device *pdev,
  	}
 
  	/* The value the guest needs is actually the IDT vector, not the
-	 * the local domain's IRQ number. */
+	 * local domain's IRQ number. */

When touching this comment, would you mind to correct its style, too? It should have a leading "/*" and a trailing "*/" line like e.g. in line 72 of the same source file.

Juergen