[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170523213032.GD15055@bhelgaas-glaptop.roam.corp.google.com>
Date: Tue, 23 May 2017 16:30:32 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Song Xiaowei <songxiaowei@...ilicon.com>
Cc: bhelgaas@...gle.com, kishon@...com, jingoohan1@...il.com,
arnd@...db.de, tn@...ihalf.com, keith.busch@...el.com,
niklas.cassel@...s.com, dhdang@....com, liudongdong3@...wei.com,
puck.chen@...ilicon.com, guodong.xu@...aro.org,
wangbinghui@...ilicon.com, suzhuangluan@...ilicon.com,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
chenyao11@...wei.com
Subject: Re: [PATCH v4 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon
Kirin SoC
Hi,
When you repost this, would you mind posting the v4 as a complete separate
thread with a cover letter, i.e.,
[v4 0/3] cover
[v4 1/3] arm64: dts: hi3660: add pcie node
[v4 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC
[v4 3/3] defconfig: PCI: Enable Kirin PCIe defconfig
That makes it much easier to pull the patches out of email.
On Thu, May 18, 2017 at 05:16:40PM +0800, Song Xiaowei wrote:
> +/* info lacated in sysctrl */
s/lacated/located/
> +/*peri_crg ctrl*/
Add spaces after "/*" and before "*/" (also fix other occurrences below).
> +static int __init kirin_add_pcie_port(struct dw_pcie *pci,
> + struct platform_device *pdev)
> +{
> + int ret;
> +
> + pci->pp.ops = &kirin_pcie_host_ops;
> +
> + ret = dw_pcie_host_init(&pci->pp);
> +
> + return ret;
return dw_pcie_host_init(&pci->pp);
and get rid of "ret" altogether.
> +}
> + ret = kirin_add_pcie_port(pci, pdev);
> + if (ret)
> + return ret;
> +
> + return 0;
return kirin_add_pcie_port(pci, pdev);
> +}
Powered by blists - more mailing lists