* [PATCH] pcie-designware: build error fix
@ 2016-08-18 13:18 Joao Pinto
2016-08-18 19:15 ` Bjorn Helgaas
0 siblings, 1 reply; 2+ messages in thread
From: Joao Pinto @ 2016-08-18 13:18 UTC (permalink / raw)
To: bhelgaas; +Cc: jszhang, jingoohan1, linux-kernel, linux-pci, Joao Pinto
This patch is to fix a building error in branch pci/host-designware.
Signed-off-by: Joao Pinto <jpinto@synopsys.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pcie-designware: build error fix
2016-08-18 13:18 [PATCH] pcie-designware: build error fix Joao Pinto
@ 2016-08-18 19:15 ` Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2016-08-18 19:15 UTC (permalink / raw)
To: Joao Pinto; +Cc: bhelgaas, jszhang, jingoohan1, linux-kernel, linux-pci
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-19 1:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-18 13:18 [PATCH] pcie-designware: build error fix Joao Pinto
2016-08-18 19:15 ` 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.