lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <7083dc9188405f25307d0a75d4e199846ac06ac9.1471525771.git.jpinto@synopsys.com>
Date:	Thu, 18 Aug 2016 14:18:29 +0100
From:	Joao Pinto <Joao.Pinto@...opsys.com>
To:	bhelgaas@...gle.com
Cc:	jszhang@...vell.com, jingoohan1@...il.com,
	linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
	Joao Pinto <Joao.Pinto@...opsys.com>
Subject: [PATCH] pcie-designware: build error fix

This patch is to fix a building error in branch pci/host-designware. 

Signed-off-by: Joao Pinto <jpinto@...opsys.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ