* [Linux-kernel-mentees] [PATCH] PCI: Stop exporting pci_bus_sem
@ 2019-07-18 3:29 ` Kelsey Skunberg
0 siblings, 0 replies; 6+ messages in thread
From: skunberg.kelsey @ 2019-07-18 3:29 UTC (permalink / raw)
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 <skunberg.kelsey at gmail.com>
---
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Linux-kernel-mentees] [PATCH] PCI: Stop exporting pci_bus_sem
@ 2019-07-18 3:29 ` Kelsey Skunberg
0 siblings, 0 replies; 6+ messages in thread
From: Kelsey Skunberg @ 2019-07-18 3:29 UTC (permalink / raw)
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 <skunberg.kelsey at gmail.com>
---
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] PCI: Stop exporting pci_bus_sem
@ 2019-07-18 3:29 ` Kelsey Skunberg
0 siblings, 0 replies; 6+ messages in thread
From: Kelsey Skunberg @ 2019-07-18 3:29 UTC (permalink / raw)
To: bhelgaas, linux-pci, linux-kernel
Cc: skhan, linux-kernel-mentees, skunberg.kelsey
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 <skunberg.kelsey@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Linux-kernel-mentees] [PATCH] PCI: Stop exporting pci_bus_sem
@ 2019-07-23 23:37 ` Bjorn Helgaas
0 siblings, 0 replies; 6+ messages in thread
From: helgaas @ 2019-07-23 23:37 UTC (permalink / raw)
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 <skunberg.kelsey at gmail.com>
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 at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Linux-kernel-mentees] [PATCH] PCI: Stop exporting pci_bus_sem
@ 2019-07-23 23:37 ` Bjorn Helgaas
0 siblings, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2019-07-23 23:37 UTC (permalink / raw)
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 <skunberg.kelsey at gmail.com>
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 at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Linux-kernel-mentees] [PATCH] PCI: Stop exporting pci_bus_sem
@ 2019-07-23 23:37 ` Bjorn Helgaas
0 siblings, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2019-07-23 23:37 UTC (permalink / raw)
To: Kelsey Skunberg; +Cc: linux-pci, linux-kernel, linux-kernel-mentees
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 <skunberg.kelsey@gmail.com>
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-07-23 23:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-18 3:29 [Linux-kernel-mentees] [PATCH] PCI: Stop exporting pci_bus_sem skunberg.kelsey
2019-07-18 3:29 ` Kelsey Skunberg
2019-07-18 3:29 ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-23 23:37 ` helgaas
2019-07-23 23:37 ` Bjorn Helgaas
2019-07-23 23:37 ` Bjorn Helgaas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.