* [PATCHv2] pci: changed "foo* bar" to "foo *bar"
@ 2014-04-11 5:01 Ryan Desfosses
2014-04-14 23:47 ` Bjorn Helgaas
0 siblings, 1 reply; 2+ messages in thread
From: Ryan Desfosses @ 2014-04-11 5:01 UTC (permalink / raw)
To: bhelgaas; +Cc: trivial, linux-kernel, linux-pci, Ryan Desfosses
change made to resolve following checkpatch message:
drivers/pci/pci.c:109: ERROR: "foo* bar" should be "foo *bar"
branch: Linux 3.14-rc8
Signed-off-by: Ryan Desfosses <ryan@desfo.org>
---
drivers/pci/pci.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index fdbc294..4070a60 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -106,7 +106,7 @@ static bool pcie_ari_disabled;
* Given a PCI bus, returns the highest PCI bus number present in the set
* including the given PCI bus and its list of child PCI buses.
*/
-unsigned char pci_bus_max_busnr(struct pci_bus* bus)
+unsigned char pci_bus_max_busnr(struct pci_bus *bus)
{
struct list_head *tmp;
unsigned char max, n;
@@ -1359,7 +1359,7 @@ static void pcim_release(struct device *gendev, void *res)
pci_disable_device(dev);
}
-static struct pci_devres * get_pci_dr(struct pci_dev *pdev)
+static struct pci_devres *get_pci_dr(struct pci_dev *pdev)
{
struct pci_devres *dr, *new_dr;
@@ -1373,7 +1373,7 @@ static struct pci_devres * get_pci_dr(struct pci_dev *pdev)
return devres_get(&pdev->dev, new_dr, NULL, NULL);
}
-static struct pci_devres * find_pci_dr(struct pci_dev *pdev)
+static struct pci_devres *find_pci_dr(struct pci_dev *pdev)
{
if (pci_is_managed(pdev))
return devres_find(&pdev->dev, pcim_release, NULL, NULL);
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCHv2] pci: changed "foo* bar" to "foo *bar"
2014-04-11 5:01 [PATCHv2] pci: changed "foo* bar" to "foo *bar" Ryan Desfosses
@ 2014-04-14 23:47 ` Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2014-04-14 23:47 UTC (permalink / raw)
To: Ryan Desfosses; +Cc: trivial, linux-kernel, linux-pci
On Fri, Apr 11, 2014 at 01:01:53AM -0400, Ryan Desfosses wrote:
> change made to resolve following checkpatch message:
> drivers/pci/pci.c:109: ERROR: "foo* bar" should be "foo *bar"
> branch: Linux 3.14-rc8
>
> Signed-off-by: Ryan Desfosses <ryan@desfo.org>
Applied to pci/misc, thanks!
> ---
> drivers/pci/pci.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
> index fdbc294..4070a60 100644
> --- a/drivers/pci/pci.c
> +++ b/drivers/pci/pci.c
> @@ -106,7 +106,7 @@ static bool pcie_ari_disabled;
> * Given a PCI bus, returns the highest PCI bus number present in the set
> * including the given PCI bus and its list of child PCI buses.
> */
> -unsigned char pci_bus_max_busnr(struct pci_bus* bus)
> +unsigned char pci_bus_max_busnr(struct pci_bus *bus)
> {
> struct list_head *tmp;
> unsigned char max, n;
> @@ -1359,7 +1359,7 @@ static void pcim_release(struct device *gendev, void *res)
> pci_disable_device(dev);
> }
>
> -static struct pci_devres * get_pci_dr(struct pci_dev *pdev)
> +static struct pci_devres *get_pci_dr(struct pci_dev *pdev)
> {
> struct pci_devres *dr, *new_dr;
>
> @@ -1373,7 +1373,7 @@ static struct pci_devres * get_pci_dr(struct pci_dev *pdev)
> return devres_get(&pdev->dev, new_dr, NULL, NULL);
> }
>
> -static struct pci_devres * find_pci_dr(struct pci_dev *pdev)
> +static struct pci_devres *find_pci_dr(struct pci_dev *pdev)
> {
> if (pci_is_managed(pdev))
> return devres_find(&pdev->dev, pcim_release, NULL, NULL);
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-14 23:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-11 5:01 [PATCHv2] pci: changed "foo* bar" to "foo *bar" Ryan Desfosses
2014-04-14 23:47 ` 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.