Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8990888ybi; Tue, 23 Jul 2019 19:35:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHyjdE8kPydlpeLmGJZ2+uAOR79bIy6+UxWypdfdHrQkc6GZw3IMoSNqL5hRl8QrPYdgBm X-Received: by 2002:a17:902:7407:: with SMTP id g7mr84412410pll.214.1563935746885; Tue, 23 Jul 2019 19:35:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935746; cv=none; d=google.com; s=arc-20160816; b=NN6SVr8GFcKsNge3RmMj4hcmgNEaks6aZtvpNx2yWJKb4i9l2oRpG1VNQOjRYvbGFw vVsUHggX8syNQRRyyLgssD609sPUgS7FKwzyg56G0+QJ8ZNPfEBnO6Mq3NbzsLEtvVBL vmpYUyz3dnAwW9IArW8c9pKsau3Wg8RZzAV2vmmM/q14gcMOXsH+O3WCRYuJCwpTD5X+ 7jGmDzkQn3VcdYqllJhJ4vbWr1fYQvMFi779RmRpDQTuXTHdv5jtiazvQfk9ibsmE+S6 yxUDEj7u+e9+CHM/y6+CiuIfjSJP+RFWQJXshWfiRZQm6sgHyqIxpRzknD4U5xENrrzC Hl+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JegzuJ30iP3QN6qfsN6gYGqbdo6TvcIzjzpDYR+P5SI=; b=Bgw2/kTA/Mluvj4WvMBHMeD/byJsA/vAwwU9gVrjlTlBzP9Bd9TUBCCqNDuYMGHi6R GICoIzlZftpn18RA1wiuaMIKbUgHndBmcQyhVAVXaHxUVPvk+XZXhaMgEBLCKX1eLEAk U/mbApop1vMVKYn9vLNc7VQHNNSrWiDqkg+du2n8GSto4lxdOP2nF9PXmyCVNRLSsW8j CtfWx2uh4pgQRXr3mgqCsraYLE/9x3RTR8wHlYhkz6QQF/XmAIJRvDqiALOAJZj7KjeY oc5te+bDsLvTNf5cnzhqMvwXe7RkNK8onwqLo/oF4rXOL7UMCBIPDzAibsrdgWyqGgne GVWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gEwrrwf7; 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 124si13766210pgb.11.2019.07.23.19.35.32; Tue, 23 Jul 2019 19:35:46 -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=gEwrrwf7; 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 S1727111AbfGWXgy (ORCPT + 99 others); Tue, 23 Jul 2019 19:36:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:50830 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726862AbfGWXgy (ORCPT ); Tue, 23 Jul 2019 19:36:54 -0400 Received: from localhost (unknown [69.71.4.100]) (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 4F58B2184B; Tue, 23 Jul 2019 23:36:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563925013; bh=BuegP/V0qI4Z8kyW9R7aYMJWkIoqBWoCJg3WJV3ANEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gEwrrwf7oydOanm0eePwlZFoYfow+Bm7AmlWOdxbHKfMLZE1v6M+hHx5AW70qzZyf i3SaBy7lGtnn6tCVBp06LXAuJ2E6k4I6/7N+02PGSqdL6ZU+KOj2KF0079UKfYNPjH jR3vUvCApW37szj2/TNaOIGsO9NJInHAFh3bjLmU= Date: Tue, 23 Jul 2019 18:36:51 -0500 From: Bjorn Helgaas To: Kelsey Skunberg Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Greg KH Subject: Re: [Linux-kernel-mentees] [PATCH] PCI: Remove unused EXPORT_SYMBOL()s from drivers/pci/bus.c Message-ID: <20190723233651.GD47047@google.com> References: <20190717182353.45557-1-skunberg.kelsey@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190717182353.45557-1-skunberg.kelsey@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [+cc Greg] On Wed, Jul 17, 2019 at 12:23:53PM -0600, Kelsey Skunberg wrote: > pci_bus_get() and pci_bus_put() are not used by a loadable kernel module > and do not need to be exported. Remove lines exporting pci_bus_get() and > pci_bus_put(). > > Functions were exported in commit fe830ef62ac6 ("PCI: Introduce > pci_bus_{get|put}() to manage PCI bus reference count"). No found history > of functions being used by a loadable kernel module. > > Signed-off-by: Kelsey Skunberg Applied with Greg's ack to pci/hide for v5.4, thanks! > --- > drivers/pci/bus.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c > index 495059d923f7..8e40b3e6da77 100644 > --- a/drivers/pci/bus.c > +++ b/drivers/pci/bus.c > @@ -417,11 +417,9 @@ struct pci_bus *pci_bus_get(struct pci_bus *bus) > get_device(&bus->dev); > return bus; > } > -EXPORT_SYMBOL(pci_bus_get); > > void pci_bus_put(struct pci_bus *bus) > { > if (bus) > put_device(&bus->dev); > } > -EXPORT_SYMBOL(pci_bus_put); > -- > 2.20.1 > > _______________________________________________ > Linux-kernel-mentees mailing list > Linux-kernel-mentees@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees