Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1281350imm; Fri, 8 Jun 2018 13:12:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKINFY9aXvDvdtpcKcx4ww2ceeDyjD1qESHWyVIJ264JtHZFmDaEI2FMLtIAUlTIZhKm0JC5 X-Received: by 2002:a17:902:7244:: with SMTP id c4-v6mr8063888pll.265.1528488774236; Fri, 08 Jun 2018 13:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528488774; cv=none; d=google.com; s=arc-20160816; b=FaFsYTCZXxESDgk+LuWhYvTptslP6DhpURsVfCJlkRS10zh3jo2xik9vLcNSL9HZvR m17wakW68k6MmQoiqdrfceFiAtR3VO8QrqZLxura2qDyvTpJrR0dNY/Z0EiCE5ZuJ5ZM DByf6KGbtjHfW69kSmVNXDzZJDby2IHgiKMfomrsn0OAwA50kS+SDtX6NaF2xr8mB6WC bylZ+d9CRnQywsof5R4VxmVohhncQmauqGCGOXNXE71WamlW0lKVaPPOnNIyieKQpNwk 4rQspLr08KKjkUa611bcmDz/cW6rmtqL3dsWZ+lcmy0GmbyOm+xyhXbVG/xRAIv7JMu9 /XDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature:arc-authentication-results; bh=Ok5rq3tnzTtxJMhajrxw7wr5+X/pt/PDZWUKoFomHwA=; b=wJk9sHH0fFvK0UXFj2J3DoseQ5sOh0JQ27tLVYzzIB0Pf8nZgOposkjpP1Se1exLJx hgqzZ11H/J58EhPmpffq8j+zTctHSaBdajEW7d5Z6sPDvvjxCG152h8UPhYVIarK2Lh+ EVyMFbEYZU/Uf7YwqVfDvVlvdrD69Hh02nSFBM760dO+QiCHycpBB62+WVnMK/WXLYJm rdq2zQtbfv3vkJpL7RnHoaSPMaW8Djf5qiEm3IqqUYqAYEn+j3xFbRJDbVv1aXt2mkEP FxwtK9AXmzvy4lDdURjRqYP1GcZsKAJ/fLArF0HT7Bn5K+c4VJauYS4FHS05HAah2XGt e/Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1gVCsk5T; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1-v6si58761528plb.90.2018.06.08.13.12.39; Fri, 08 Jun 2018 13:12:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1gVCsk5T; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752910AbeFHUML (ORCPT + 99 others); Fri, 8 Jun 2018 16:12:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:51248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752676AbeFHUMI (ORCPT ); Fri, 8 Jun 2018 16:12:08 -0400 Received: from localhost (unknown [150.199.191.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E3974206B7; Fri, 8 Jun 2018 20:12:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528488728; bh=10KP4Se6vZs2+POs3QSy772AbRo9IBWFhZnQuXEIiHo=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=1gVCsk5TvrTydnsn4sB88k1R7Z3Y/5/BH+oXoQYjK0YWSYZXNr1NFdRVPuwKEZw86 mSI5B3P6E+Fmk/iHQEFr0TwPKh9aQTW3hZS0JrCx8ThWTnlavALhEltq1+Vf2w38K6 i2+n0Tbsi9Dn8DUyImdaZVShikWb6jdfJBbADn+k= Subject: [PATCH v1 1/9] PCI/portdrv: Rename resume_iter() to prevent name collision From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Oza Pawandeep , linux-kernel@vger.kernel.org Date: Fri, 08 Jun 2018 15:12:07 -0500 Message-ID: <152848872711.14051.2066441875532387495.stgit@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <152848853199.14051.12670957565366345798.stgit@bhelgaas-glaptop.roam.corp.google.com> References: <152848853199.14051.12670957565366345798.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Helgaas Rename resume_iter() to prevent a name collision in a future patch. No functional change intended. Signed-off-by: Bjorn Helgaas --- drivers/pci/pcie/portdrv_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c index 973f1b80a038..b8b99dd07c0c 100644 --- a/drivers/pci/pcie/portdrv_pci.c +++ b/drivers/pci/pcie/portdrv_pci.c @@ -173,7 +173,7 @@ static pci_ers_result_t pcie_portdrv_slot_reset(struct pci_dev *dev) return PCI_ERS_RESULT_RECOVERED; } -static int resume_iter(struct device *device, void *data) +static int err_resume_iter(struct device *device, void *data) { struct pcie_device *pcie_device; struct pcie_port_service_driver *driver; @@ -193,7 +193,7 @@ static int resume_iter(struct device *device, void *data) static void pcie_portdrv_err_resume(struct pci_dev *dev) { - device_for_each_child(&dev->dev, NULL, resume_iter); + device_for_each_child(&dev->dev, NULL, err_resume_iter); } /*