diff mbox

[TRIVIAL] PCI: fix typo in doc for pci_cfg_access_lock()

Message ID 20170328004614.12889-1-briannorris@chromium.org (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Brian Norris March 28, 2017, 12:46 a.m. UTC
There is no pci_cfg_access_unlocked(). I think the author meant
pci_cfg_access_unlock().

Signed-off-by: Brian Norris <briannorris@chromium.org>
---
 drivers/pci/access.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bjorn Helgaas April 4, 2017, 5:03 p.m. UTC | #1
On Mon, Mar 27, 2017 at 05:46:14PM -0700, Brian Norris wrote:
> There is no pci_cfg_access_unlocked(). I think the author meant
> pci_cfg_access_unlock().
> 
> Signed-off-by: Brian Norris <briannorris@chromium.org>

Applied to pci/misc for v4.12, thanks!

> ---
>  drivers/pci/access.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/access.c b/drivers/pci/access.c
> index 8b7382705bf2..20ec96c4239e 100644
> --- a/drivers/pci/access.c
> +++ b/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
>   * 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)
>  {
> -- 
> 2.12.2.564
diff mbox

Patch

diff --git a/drivers/pci/access.c b/drivers/pci/access.c
index 8b7382705bf2..20ec96c4239e 100644
--- a/drivers/pci/access.c
+++ b/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
  * 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)
 {