From patchwork Tue Mar 28 00:46:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 9647851 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 56EE260328 for ; Tue, 28 Mar 2017 00:47:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4956A26224 for ; Tue, 28 Mar 2017 00:47:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3DF3E27CF3; Tue, 28 Mar 2017 00:47:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B17C826E73 for ; Tue, 28 Mar 2017 00:47:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754118AbdC1Aqw (ORCPT ); Mon, 27 Mar 2017 20:46:52 -0400 Received: from mail-pg0-f49.google.com ([74.125.83.49]:35859 "EHLO mail-pg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754188AbdC1Aqv (ORCPT ); Mon, 27 Mar 2017 20:46:51 -0400 Received: by mail-pg0-f49.google.com with SMTP id g2so55568830pge.3 for ; Mon, 27 Mar 2017 17:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=WaVgvm6xqKZJ2NPQwFRG2rbTVyBzm6WHA/92VVyZW6Y=; b=bs3yEjf7xlYZbLIhJZsmuaUAENXLEyCm9S4iBH1m2rnO5CfdQ17P3PEocvLOuNokwE F9yuKZg2RYrh1rjGO57c1sHmJGOGT3GmsI3l5oDpZDuKictrgrZoz9K5Xhm8z6dFJf6w vkQImfTOoRT+ew6tPVAKPhb2FDDDrQGiKOYjc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WaVgvm6xqKZJ2NPQwFRG2rbTVyBzm6WHA/92VVyZW6Y=; b=SHJnI/PB3OTQrKE9aHNyafxV57J5JOdMpbzx+9TIG7YR/VJvZwp+OxvPFLKBUbmGGD ZCvxy7WnVNiCmY7F7+LyaFedS1JTlkG/FYnytV0eiEg5crw5Q5pgwGSID8fZKd440Fch azvcDHG7KPn0kq7s3tkVO/IwO1ReQWzzNn0MAUnMGPrkD0Y84biTvfvT83Ea4ZQND7wl qwVUFNLNL5Vr6Oe39k5u6bbNBftyOyDuw7siZ2NGJT/OkgBgtrcsVWjGyQu5u2CWgB+A DIXrkxOqKgJUxI6BW4MqgNxQfpqAspKVjfQFriY3Lk1Y3wiIiaCxgyXKUSh7jfOA3mfa WCUw== X-Gm-Message-State: AFeK/H2awlZY8DiAIv3jWjheFemxrwXpZBksyAcGfCW+A6yReEtMSJiqes0aA2q7yjmOkCBy X-Received: by 10.98.102.88 with SMTP id a85mr23441651pfc.33.1490661980781; Mon, 27 Mar 2017 17:46:20 -0700 (PDT) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id q5sm3290119pgj.38.2017.03.27.17.46.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Mar 2017 17:46:20 -0700 (PDT) From: Brian Norris To: Bjorn Helgaas Cc: Brian Norris , linux-pci@vger.kernel.org, Brian Norris Subject: [TRIVIAL PATCH] PCI: fix typo in doc for pci_cfg_access_lock() Date: Mon, 27 Mar 2017 17:46:14 -0700 Message-Id: <20170328004614.12889-1-briannorris@chromium.org> X-Mailer: git-send-email 2.12.2.564.g063fe858b8-goog Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There is no pci_cfg_access_unlocked(). I think the author meant pci_cfg_access_unlock(). Signed-off-by: Brian Norris --- 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) {