From 16f7b3b2e7f890b4cc511ade3fe931a2511011f4 Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Wed, 26 Jul 2017 20:50:03 +1000 Subject: phb4: Fix copy/paste typo in error logging Signed-off-by: Michael Neuling Signed-off-by: Stewart Smith --- hw/phb4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') diff --git a/hw/phb4.c b/hw/phb4.c index 827808c..4fc9237 100644 --- a/hw/phb4.c +++ b/hw/phb4.c @@ -1851,7 +1851,7 @@ static void phb4_read_phb_status(struct phb4 *p, stat->phbPblErrorStatus = phb4_read_reg_asb(p, PHB_PBL_ERR_STATUS); stat->phbPblFirstErrorStatus = phb4_read_reg_asb(p, PHB_PBL_ERR1_STATUS); stat->phbPblErrorLog0 = phb4_read_reg_asb(p, PHB_PBL_ERR_LOG_0); - stat->phbPblErrorLog1 = phb4_read_reg_asb(p, PHB_PBL_ERR_LOG_0); + stat->phbPblErrorLog1 = phb4_read_reg_asb(p, PHB_PBL_ERR_LOG_1); stat->phbPcieDlpErrorStatus = phb4_read_reg_asb(p, PHB_PCIE_DLP_ERR_STATUS); stat->phbPcieDlpErrorLog1 = phb4_read_reg_asb(p, PHB_PCIE_DLP_ERRLOG1); -- cgit v1.1