[azure:x][PATCH 3/5] UBUNTU: SAUCE: PCI: hv: Fix a comment typo in _hv_pcifront_read_config()
Marcelo Henrique Cerri
marcelo.cerri at canonical.com
Thu Apr 5 17:55:32 UTC 2018
From: Dexuan Cui <decui at microsoft.com>
BugLink: http://bugs.launchpad.net/bugs/1758378
Comment in _hv_pcifront_read_config() contains a typo, fix it.
No functional change.
Signed-off-by: Dexuan Cui <decui at microsoft.com>
[lorenzo.pieralisi at arm.com: changed commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
Acked-by: Haiyang Zhang <haiyangz at microsoft.com>
Cc: Vitaly Kuznetsov <vkuznets at redhat.com>
Cc: Stephen Hemminger <sthemmin at microsoft.com>
Cc: K. Y. Srinivasan <kys at microsoft.com>
Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
---
drivers/pci/host/pci-hyperv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c
index 77bdb70e36f3..3216bf73fafa 100644
--- a/drivers/pci/host/pci-hyperv.c
+++ b/drivers/pci/host/pci-hyperv.c
@@ -666,7 +666,7 @@ static void _hv_pcifront_read_config(struct hv_pci_dev *hpdev, int where,
break;
}
/*
- * Make sure the write was done before we release the spinlock
+ * Make sure the read was done before we release the spinlock
* allowing consecutive reads/writes.
*/
mb();
--
2.7.4
More information about the kernel-team
mailing list