PCI: hv: Fix a comment typo in _hv_pcifront_read_config()
authorDexuan Cui <decui@microsoft.com>
Thu, 15 Mar 2018 14:21:35 +0000 (14:21 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 16 Mar 2018 18:19:02 +0000 (18:19 +0000)
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>
drivers/pci/host/pci-hyperv.c

index cb694d2..0d2a098 100644 (file)
@@ -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();