From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 916C0C76186 for ; Tue, 23 Jul 2019 23:37:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 46D052238C for ; Tue, 23 Jul 2019 23:37:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563925036; bh=fdHWyEHGRz64s2G2uXhlm5YnUP8y5eicNiu3Xgx/sA0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=jlBpOTMRzJ5N2AdzZwNoBPMJrL2Rjvr92jHTaDwJwIrKKY9aA/Ro5pgkkU7tdzoEH 5uyItcaakJ0kCk4jIaAVmolwSPAFEUolB3KxwADD1SVvmgYxlwrsIjD9sB2pNLMAR8 aayNR6CXfaIMPcigGAnRvXf3deb/kF+U7savn/uc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727128AbfGWXhP (ORCPT ); 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-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@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