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


Groups > linux.kernel > #1465768

Re: [PATCH] pcie-designware: build error fix

From Bjorn Helgaas <helgaas@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] pcie-designware: build error fix
Date 2016-08-19 03:20 +0200
Message-ID <s7GDw-7k3-55@gated-at.bofh.it> (permalink)
References <s7vI5-oA-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 18, 2016 at 02:18:29PM +0100, Joao Pinto wrote:
> This patch is to fix a building error in branch pci/host-designware. 
> 
> Signed-off-by: Joao Pinto <jpinto@synopsys.com>

Thanks, I fixed this yesterday, and I got a build success report for it
(commit 01c076732e82).

> ---
>  drivers/pci/host/pcie-designware.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
> index be70f28..6a743c5 100644
> --- a/drivers/pci/host/pcie-designware.c
> +++ b/drivers/pci/host/pcie-designware.c
> @@ -511,9 +511,8 @@ static const struct irq_domain_ops msi_domain_ops = {
>  
>  static u8 dw_pcie_iatu_unroll_enabled(struct pcie_port *pp)
>  {
> -	u32 val = 0;
> +	u32 val = dw_pcie_readl_rc(pp, PCIE_ATU_VIEWPORT);
>  
> -	dw_pcie_readl_rc(pp, PCIE_ATU_VIEWPORT, &val);
>  	if (val == 0xffffffff)
>  		return 1;
>  
> -- 
> 1.8.1.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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


Thread

[PATCH] pcie-designware: build error fix Joao Pinto <Joao.Pinto@synopsys.com> - 2016-08-18 15:40 +0200
  Re: [PATCH] pcie-designware: build error fix Bjorn Helgaas <helgaas@kernel.org> - 2016-08-19 03:20 +0200

csiph-web