[2/6] phb4: Fix duplicate in EEH register dump

Message ID 20170810065843.13893-2-ruscur@russell.cc
State Accepted
Headers show

Commit Message

Russell Currey Aug. 10, 2017, 6:58 a.m.
Signed-off-by: Russell Currey <ruscur@russell.cc>
---
 hw/phb4.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andrew Donnellan Aug. 10, 2017, 8:11 a.m. | #1
On 10/08/17 16:58, Russell Currey wrote:
> Signed-off-by: Russell Currey <ruscur@russell.cc>

Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>

> ---
>   hw/phb4.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/hw/phb4.c b/hw/phb4.c
> index b207b6a1..7e8f68bf 100644
> --- a/hw/phb4.c
> +++ b/hw/phb4.c
> @@ -1925,7 +1925,6 @@ static void phb4_eeh_dump_regs(struct phb4 *p)
>   	PHBERR(p, "            devCmdStatus = %08x\n", s->devCmdStatus);
>   	PHBERR(p, "            devSecStatus = %08x\n", s->devSecStatus);
>   	PHBERR(p, "         rootErrorStatus = %08x\n", s->rootErrorStatus);
> -	PHBERR(p, "       uncorrErrorStatus = %08x\n", s->uncorrErrorStatus);
>   	PHBERR(p, "         corrErrorStatus = %08x\n", s->corrErrorStatus);
>   	PHBERR(p, "       uncorrErrorStatus = %08x\n", s->uncorrErrorStatus);
>   
>

Patch

diff --git a/hw/phb4.c b/hw/phb4.c
index b207b6a1..7e8f68bf 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -1925,7 +1925,6 @@  static void phb4_eeh_dump_regs(struct phb4 *p)
 	PHBERR(p, "            devCmdStatus = %08x\n", s->devCmdStatus);
 	PHBERR(p, "            devSecStatus = %08x\n", s->devSecStatus);
 	PHBERR(p, "         rootErrorStatus = %08x\n", s->rootErrorStatus);
-	PHBERR(p, "       uncorrErrorStatus = %08x\n", s->uncorrErrorStatus);
 	PHBERR(p, "         corrErrorStatus = %08x\n", s->corrErrorStatus);
 	PHBERR(p, "       uncorrErrorStatus = %08x\n", s->uncorrErrorStatus);