Message ID | 20211212032408.52180-1-wangborong@cdjrlc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | xen/pciback: fix typo in a comment | expand |
On 12.12.21 04:24, Jason Wang wrote: > The double `the' in the comment in line 163 is repeated. Remove it > from the comment. > > Signed-off-by: Jason Wang <wangborong@cdjrlc.com> > --- > drivers/xen/xen-pciback/pciback_ops.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c > index 3fbc21466a93..e38b43b5065e 100644 > --- a/drivers/xen/xen-pciback/pciback_ops.c > +++ b/drivers/xen/xen-pciback/pciback_ops.c > @@ -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
diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c index 3fbc21466a93..e38b43b5065e 100644 --- a/drivers/xen/xen-pciback/pciback_ops.c +++ b/drivers/xen/xen-pciback/pciback_ops.c @@ -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;
The double `the' in the comment in line 163 is repeated. Remove it from the comment. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> --- drivers/xen/xen-pciback/pciback_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)