Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8990883ybi; Tue, 23 Jul 2019 19:35:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyh/HxRpXQGhmGL4pT/6DNf+Jk2wvvXII+AGO0huFVElxITJJlP6PYyPLQIkYY/u112H+NW X-Received: by 2002:a17:90b:d82:: with SMTP id bg2mr42614404pjb.87.1563935746374; 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=S5vOk6twoSvtHe+Ph+XXfv28YpFozC/7RF5PZf1ZEVsT4EqTC2PoT8HTIhGK32orOa WQp8fnseo2TBzfIPBoPs/d5QgiFBUqr4J/blR5nw1bGlqIByQbjN6n9d9q0H5tVhS3eB JEtRvcWMiXwjRdiU3AXnZbXFpGcAsNAnOovepQXfGfTBUcsqbnIzCV+qfOlxW2Rpdk+5 NUTcssBSIjXF1HuGcyWAMKI11lsYnXtUatvqI2/GanvoVh4rOSM6GERPq7Gu9l0tKP+g TyCnJ5OX6a9pcObY8z43vpDdGfdN6N5/Msr0pH6zVqBmBkSgInoQ2cS34OM6VGQ89UBM McZg== 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=Uz4E9GEr+dI+W7e2MzbGem3eN2Xt5xfshRly3KtIN2I=; b=GYybi2zv6Bm2aNDE18AdTxoEl9UQ18oiAsvajkFvEEhEUY90GoggRVuUuMB+04VvD6 MloSaNEMp4IotfjjAaIcuxDCdep6bcqVugzAAzD130EmE55Suz5/MygQITc2BhE/YoFu yp11edT5FySue0scuQK1OJTWYb2TNd/VLAfn0TK5iiniKSvWmgjLiUGeJAlbWT7ZHlI9 uSY3uM3gEd7L09Mw07UGfFZ2SNx6WfWj21icthHataNrIioBiKydiekA6Jn0i9vDHYm+ 8WCAhCCBt6cD963KS6nt8PCZ9SCxGcrscu98PBfgMzlbaBp7wK+rorZiGkVd3GRebwmH JJSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KpntqEg1; 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 w19si4336505pga.462.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=KpntqEg1; 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 S1727165AbfGWXhP (ORCPT + 99 others); Tue, 23 Jul 2019 19:37:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:51038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726862AbfGWXhP (ORCPT ); Tue, 23 Jul 2019 19:37:15 -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 B14482184B; Tue, 23 Jul 2019 23:37:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563925034; bh=fdHWyEHGRz64s2G2uXhlm5YnUP8y5eicNiu3Xgx/sA0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KpntqEg1youWiJ29MD0o8e7OH2NSri60yME0HD/WjPWqkacQgtSJcxNCma9peWMSf mgG51npzA7QY4knTY3bvRFDGvKNzWihkbGQ5bCxcatGNDCJSVk6xE66VPFl4oa1XnX N95rMtgTGuZHMb5SYTuAg26i+yzbHGmzYQ1hhjsI= Date: Tue, 23 Jul 2019 18:37:13 -0500 From: Bjorn Helgaas To: Kelsey Skunberg Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [Linux-kernel-mentees] [PATCH] PCI: Stop exporting pci_bus_sem Message-ID: <20190723233713.GE47047@google.com> References: <20190718032951.40188-1-skunberg.kelsey@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718032951.40188-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 On Wed, Jul 17, 2019 at 09:29:52PM -0600, Kelsey Skunberg wrote: > pci_bus_sem is not used by a loadable kernel module and does not need to > be exported. Remove line exporting pci_bus_sem. > > Signed-off-by: Kelsey Skunberg Applied to pci/hide for v5.4, thanks! > --- > drivers/pci/search.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/pci/search.c b/drivers/pci/search.c > index 7f4e65872b8d..bade14002fd8 100644 > --- a/drivers/pci/search.c > +++ b/drivers/pci/search.c > @@ -15,7 +15,6 @@ > #include "pci.h" > > DECLARE_RWSEM(pci_bus_sem); > -EXPORT_SYMBOL_GPL(pci_bus_sem); > > /* > * pci_for_each_dma_alias - Iterate over DMA aliases for a device > -- > 2.20.1 > > _______________________________________________ > Linux-kernel-mentees mailing list > Linux-kernel-mentees@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees