All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kelsey Skunberg <skunberg.kelsey@gmail.com>
To: linux-pci@vger.kernel.org, bhelgaas@google.com,
	linux-kernel@vger.kernel.org
Cc: skhan@linuxfoundation.org,
	linux-kernel-mentees@lists.linuxfoundation.org,
	skunberg.kelsey@gmail.com
Subject: [PATCH 07/11] PCI: Move pcie_update_link_speed() to drivers/pci/pci.h
Date: Thu, 11 Jul 2019 16:23:37 -0600	[thread overview]
Message-ID: <20190711222341.111556-8-skunberg.kelsey@gmail.com> (raw)
In-Reply-To: <20190711222341.111556-1-skunberg.kelsey@gmail.com>

pcie_update_line_speed() is only called within drivers/pci/. Since
declaration does not need to be visible to the rest of the kernel, move to
drivers/pci/pci.h.

Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com>
---
 drivers/pci/pci.h   | 1 +
 include/linux/pci.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 9b87309f5c12..59321488da03 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -295,6 +295,7 @@ u32 pcie_bandwidth_capable(struct pci_dev *dev, enum pci_bus_speed *speed,
 			   enum pcie_link_width *width);
 void __pcie_print_link_status(struct pci_dev *dev, bool verbose);
 void pcie_report_downtraining(struct pci_dev *dev);
+void pcie_update_link_speed(struct pci_bus *bus, u16 link_status);
 
 /* Single Root I/O Virtualization */
 struct pci_sriov {
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 54946423d901..3221d9f61ab4 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -938,7 +938,6 @@ struct pci_bus *pci_scan_root_bus(struct device *parent, int bus,
 int pci_scan_root_bus_bridge(struct pci_host_bridge *bridge);
 struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev,
 				int busnr);
-void pcie_update_link_speed(struct pci_bus *bus, u16 link_status);
 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
 				 const char *name,
 				 struct hotplug_slot *hotplug);
-- 
2.20.1


WARNING: multiple messages have this Message-ID (diff)
From: skunberg.kelsey at gmail.com (Kelsey Skunberg)
Subject: [Linux-kernel-mentees] [PATCH 07/11] PCI: Move pcie_update_link_speed() to drivers/pci/pci.h
Date: Thu, 11 Jul 2019 16:23:37 -0600	[thread overview]
Message-ID: <20190711222341.111556-8-skunberg.kelsey@gmail.com> (raw)
In-Reply-To: <20190711222341.111556-1-skunberg.kelsey@gmail.com>

pcie_update_line_speed() is only called within drivers/pci/. Since
declaration does not need to be visible to the rest of the kernel, move to
drivers/pci/pci.h.

Signed-off-by: Kelsey Skunberg <skunberg.kelsey at gmail.com>
---
 drivers/pci/pci.h   | 1 +
 include/linux/pci.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 9b87309f5c12..59321488da03 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -295,6 +295,7 @@ u32 pcie_bandwidth_capable(struct pci_dev *dev, enum pci_bus_speed *speed,
 			   enum pcie_link_width *width);
 void __pcie_print_link_status(struct pci_dev *dev, bool verbose);
 void pcie_report_downtraining(struct pci_dev *dev);
+void pcie_update_link_speed(struct pci_bus *bus, u16 link_status);
 
 /* Single Root I/O Virtualization */
 struct pci_sriov {
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 54946423d901..3221d9f61ab4 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -938,7 +938,6 @@ struct pci_bus *pci_scan_root_bus(struct device *parent, int bus,
 int pci_scan_root_bus_bridge(struct pci_host_bridge *bridge);
 struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev,
 				int busnr);
-void pcie_update_link_speed(struct pci_bus *bus, u16 link_status);
 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
 				 const char *name,
 				 struct hotplug_slot *hotplug);
-- 
2.20.1

WARNING: multiple messages have this Message-ID (diff)
From: skunberg.kelsey@gmail.com (Kelsey Skunberg)
Subject: [Linux-kernel-mentees] [PATCH 07/11] PCI: Move pcie_update_link_speed() to drivers/pci/pci.h
Date: Thu, 11 Jul 2019 16:23:37 -0600	[thread overview]
Message-ID: <20190711222341.111556-8-skunberg.kelsey@gmail.com> (raw)
Message-ID: <20190711222337.zjj44TA2KPhQcDZs7Q-zcTT3SzhTVdEnI3iP8jeSfmM@z> (raw)
In-Reply-To: <20190711222341.111556-1-skunberg.kelsey@gmail.com>

pcie_update_line_speed() is only called within drivers/pci/. Since
declaration does not need to be visible to the rest of the kernel, move to
drivers/pci/pci.h.

Signed-off-by: Kelsey Skunberg <skunberg.kelsey at gmail.com>
---
 drivers/pci/pci.h   | 1 +
 include/linux/pci.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 9b87309f5c12..59321488da03 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -295,6 +295,7 @@ u32 pcie_bandwidth_capable(struct pci_dev *dev, enum pci_bus_speed *speed,
 			   enum pcie_link_width *width);
 void __pcie_print_link_status(struct pci_dev *dev, bool verbose);
 void pcie_report_downtraining(struct pci_dev *dev);
+void pcie_update_link_speed(struct pci_bus *bus, u16 link_status);
 
 /* Single Root I/O Virtualization */
 struct pci_sriov {
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 54946423d901..3221d9f61ab4 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -938,7 +938,6 @@ struct pci_bus *pci_scan_root_bus(struct device *parent, int bus,
 int pci_scan_root_bus_bridge(struct pci_host_bridge *bridge);
 struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev,
 				int busnr);
-void pcie_update_link_speed(struct pci_bus *bus, u16 link_status);
 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
 				 const char *name,
 				 struct hotplug_slot *hotplug);
-- 
2.20.1

  parent reply	other threads:[~2019-07-11 22:26 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-11 22:23 [PATCH 00/11] PCI: Move symbols to drivers/pci/pci.h Kelsey Skunberg
2019-07-11 22:23 ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23 ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 01/11] PCI: Move #define PCI_PM_* lines " Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 02/11] PCI: Move PME declarations " Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 03/11] PCI: Move *_host_bridge_device() declarations to drivers/pci.pci.h Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 04/11] PCI: Move PCI Virtual Channel declarations to drivers/pci/pci.h Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 05/11] PCI: Move pci_hotplug_*_size " Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 06/11] PCI: Move pci_bus_* " Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` Kelsey Skunberg [this message]
2019-07-11 22:23   ` [Linux-kernel-mentees] [PATCH 07/11] PCI: Move pcie_update_link_speed() " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 08/11] PCI: Move pci_ats_init() " Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 09/11] PCI: Move ECRC declarations " Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 10/11] PCI: Move PTM declaration " Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-11 22:23 ` [PATCH 11/11] PCI: Move pci_*_node() declarations " Kelsey Skunberg
2019-07-11 22:23   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-11 22:23   ` skunberg.kelsey
2019-07-23 23:07 ` [PATCH 00/11] PCI: Move symbols " Bjorn Helgaas
2019-07-23 23:07   ` [Linux-kernel-mentees] " Bjorn Helgaas
2019-07-23 23:07   ` helgaas
2019-07-23 23:24   ` Kelsey Skunberg
2019-07-23 23:24     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-23 23:24     ` skunberg.kelsey
2019-07-24 23:38 ` [PATCH v2 00/11] Hide PCI symbols that don't need to be global Kelsey Skunberg
2019-07-24 23:38   ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38   ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 01/11] PCI: Move #define PCI_PM_* lines to drivers/pci/pci.h Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-29 21:44     ` Bjorn Helgaas
2019-07-29 21:44       ` Bjorn Helgaas
2019-07-29 21:44       ` helgaas
2019-07-24 23:38   ` [PATCH v2 02/11] PCI: Move PME declarations " Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 03/11] PCI: Move *_host_bridge_device() declarations to drivers/pci.pci.h Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 04/11] PCI: Move PCI Virtual Channel declarations to drivers/pci/pci.h Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 05/11] PCI: Move pci_hotplug_*_size " Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 06/11] PCI: Move pci_bus_* " Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 07/11] PCI: Move pcie_update_link_speed() " Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 08/11] PCI: Move pci_ats_init() " Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 09/11] PCI: Move ECRC declarations " Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 10/11] PCI: Move PTM declaration " Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-24 23:38   ` [PATCH v2 11/11] PCI: Move pci_*_node() declarations " Kelsey Skunberg
2019-07-24 23:38     ` [Linux-kernel-mentees] " Kelsey Skunberg
2019-07-24 23:38     ` skunberg.kelsey
2019-07-30 13:47   ` [Linux-kernel-mentees] [PATCH v2 00/11] Hide PCI symbols that don't need to be global Bjorn Helgaas
2019-07-30 13:47     ` Bjorn Helgaas
2019-07-30 13:47     ` helgaas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190711222341.111556-8-skunberg.kelsey@gmail.com \
    --to=skunberg.kelsey@gmail.com \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.