]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
PCI: Fix typo pci_cfg_access_lock() comment
authorBrian Norris <briannorris@chromium.org>
Tue, 28 Mar 2017 00:46:14 +0000 (17:46 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 4 Apr 2017 17:02:57 +0000 (12:02 -0500)
There is no pci_cfg_access_unlocked(). I think the author meant
pci_cfg_access_unlock().

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/access.c

index 8b7382705bf27e3e8e315bbbd539ae6222f56318..5b7842b035715cdd75fbdffc390bf22641a0965a 100644 (file)
@@ -629,7 +629,7 @@ void pci_vpd_release(struct pci_dev *dev)
  *
  * When access is locked, any userspace reads or writes to config
  * space and concurrent lock requests will sleep until access is
- * allowed via pci_cfg_access_unlocked again.
+ * allowed via pci_cfg_access_unlock() again.
  */
 void pci_cfg_access_lock(struct pci_dev *dev)
 {