summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2018-03-15 14:21:35 +0000
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-03-16 18:19:02 +0000
commitdf3f2159f4e4146d40b244725ce79ed921530b99 (patch)
tree667a4a1d9335097e9e390def5dcfebf76865f330 /drivers/pci
parentde0aa7b2f97d348ba7d1e17a00744c989baa0cb6 (diff)
downloadop-kernel-dev-df3f2159f4e4146d40b244725ce79ed921530b99.zip
op-kernel-dev-df3f2159f4e4146d40b244725ce79ed921530b99.tar.gz
PCI: hv: Fix a comment typo in _hv_pcifront_read_config()
Comment in _hv_pcifront_read_config() contains a typo, fix it. No functional change. Signed-off-by: Dexuan Cui <decui@microsoft.com> [lorenzo.pieralisi@arm.com: changed commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Haiyang Zhang <haiyangz@microsoft.com> Cc: Vitaly Kuznetsov <vkuznets@redhat.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pci-hyperv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c
index cb694d2..0d2a098 100644
--- a/drivers/pci/host/pci-hyperv.c
+++ b/drivers/pci/host/pci-hyperv.c
@@ -656,7 +656,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();
OpenPOWER on IntegriCloud