Эх сурвалжийг харах

PCI: Fix typo pci_cfg_access_lock() comment

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>
Brian Norris 8 жил өмнө
parent
commit
0b131b1394

+ 1 - 1
drivers/pci/access.c

@@ -629,7 +629,7 @@ void pci_vpd_release(struct pci_dev *dev)
  *
  *
  * When access is locked, any userspace reads or writes to config
  * When access is locked, any userspace reads or writes to config
  * space and concurrent lock requests will sleep until access is
  * 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)
 void pci_cfg_access_lock(struct pci_dev *dev)
 {
 {