Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1648799

Re: [PATCH v4 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

From Bjorn Helgaas <helgaas@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC
Date 2017-05-23 23:40 +0200
Message-ID <tKpH4-Fc-23@gated-at.bofh.it> (permalink)
References <tIpLc-8ip-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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);

> +}

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v4 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC Song Xiaowei <songxiaowei@hisilicon.com> - 2017-05-18 11:20 +0200
  Re: [PATCH v4 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon  Kirin SoC Niklas Cassel <niklas.cassel@axis.com> - 2017-05-18 11:30 +0200
  Re: [PATCH v4 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC "Jingoo Han" <jingoohan1@gmail.com> - 2017-05-18 20:50 +0200
  Re: [PATCH v4 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon  Kirin SoC Bjorn Helgaas <helgaas@kernel.org> - 2017-05-23 23:40 +0200

csiph-web