From patchwork Tue Jul 14 19:45:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 6788681 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3D5FAC05AC for ; Tue, 14 Jul 2015 19:45:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B52002069E for ; Tue, 14 Jul 2015 19:45:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D151620698 for ; Tue, 14 Jul 2015 19:45:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752237AbbGNTpI (ORCPT ); Tue, 14 Jul 2015 15:45:08 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:34924 "EHLO mail-ob0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751900AbbGNTpH (ORCPT ); Tue, 14 Jul 2015 15:45:07 -0400 Received: by obbop1 with SMTP id op1so12793340obb.2 for ; Tue, 14 Jul 2015 12:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=7nOlC93MI4fVyHxH9aVgDhctWc8K6fizob2oEwWc220=; b=Ui7SavXJK8T1StpewC5GFt6KyVQyK5dMJzkJXbA7y8/LmOvMsxZHprmvbCpQJ0nwEn JGgMGi+37yUztpn/lSG/iqCaQQt3F39y1+Yu9SQI8ha0hKQoGeE55kxRTn3mi+ZW+fCI ChQDkhygfHxm9KEj6kfmSPAyaHxOSrBYvuxL3KJpWqRntZxWJ33N5DHQXCpeuIbInkZl ab/i01jrkRu1SHuWYgghLYOvldWFslSt80hDtkTyLaGrbbi+4pBjwm/AO8lzneJGACqE naDJZsCnoFl9RGbk4d0VXntZXuEWy9DV2xAgZFAGY/Q3PQ7mlFCrSOwnsuIUAXP8JFPb PtTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=7nOlC93MI4fVyHxH9aVgDhctWc8K6fizob2oEwWc220=; b=DRAtVyP/vprRnUTZUSaQg7xZH3C1Vw05cKerGVZfWzDev9pism7lY2xIOXfK67n5Gh owMr0sST5qyYGFURHAUW5iHOXwt7muEm3kTUFp1yJh5aTukzjDAUPWJ0dj/YWAcANioa 4Oq33LITy3a8aaBWVRubFze2sB8WKJGk+/T2SNktqMoV/IE13zb3NeB88zNCjOZsDuOG vuFJs2I7hc9gOHR5wxG2xbwhMPM0xaoiRtgIn45o/rBzwVxtiE27+0B5AlxxZZCLFRXD HSobaCl8c6nGzAulOVBJNxARHK93IjPEum7j2l9N1KetrrY/2LLOJmhlgs2Q+33sN30M Pqrw== X-Gm-Message-State: ALoCoQmPHQwAXlysScmbGvQXdZVhruEOVsVVLY+Rxql7H3x6BAq777v+7ESgjsUETFgnZZYGIJME X-Received: by 10.182.215.193 with SMTP id ok1mr278665obc.6.1436903106498; Tue, 14 Jul 2015 12:45:06 -0700 (PDT) Received: from localhost ([69.71.1.1]) by smtp.gmail.com with ESMTPSA id n10sm1024473oev.1.2015.07.14.12.45.04 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 14 Jul 2015 12:45:05 -0700 (PDT) Subject: [PATCH 1/2] PCI: Fix pcie_port_device_resume() comment To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: "Rafael J. Wysocki" , Myron Stowe , Jiang Liu Date: Tue, 14 Jul 2015 14:45:03 -0500 Message-ID: <20150714194503.13471.65928.stgit@bhelgaas-glaptop2.roam.corp.google.com> In-Reply-To: <20150714193757.13471.77973.stgit@bhelgaas-glaptop2.roam.corp.google.com> References: <20150714193757.13471.77973.stgit@bhelgaas-glaptop2.roam.corp.google.com> User-Agent: StGit/0.16 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The function comment claimed this was pcie_port_device_suspend(), but it's really pcie_port_device_resume(). Perils of cut and paste. Use the correct function name in the comment. Signed-off-by: Bjorn Helgaas --- drivers/pci/pcie/portdrv_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c index 2f0ce66..88122dc 100644 --- a/drivers/pci/pcie/portdrv_core.c +++ b/drivers/pci/pcie/portdrv_core.c @@ -448,7 +448,7 @@ static int resume_iter(struct device *dev, void *data) } /** - * pcie_port_device_suspend - resume port services associated with a PCIe port + * pcie_port_device_resume - resume port services associated with a PCIe port * @dev: PCI Express port to handle */ int pcie_port_device_resume(struct device *dev)