ppc440_pcix: Fix a typo in setting a register (Coverity CID1390577)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 ppc440_pcix: Fix a typo in setting a register (Coverity CID1390577)
Signed-off-by BALATON Zoltan <[email protected]>
--- hw/ppc/ppc440_pcix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/ppc440_pcix.c +1 -1
@@ -257,7 +257,7 @@ static void ppc440_pcix_reg_write4(void *opaque, hwaddr addr,break ;case PCIX0_PIM2SAL : s->pim[2 ].sa &=0xffffffff00000000ULL ; - s->pim[2 ].sa = val; + s->pim[2 ].sa |= val;ppc440_pcix_update_pim (s,2 );break ;case PCIX0_PIM2LAL :
Signature · 1 line
2.7.6
David Gibson
AppliedQuoted 1 line · BALATON Zoltan
Signed-off-by BALATON Zoltan <[email protected]>
Applied to ppc-for-2.13. There won't be a pull request until after I'm back from holidays in a month, though. Sorry.
Quoted 17 lines
--- hw/ppc/ppc440_pcix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/ppc/ppc440_pcix.c +1
-1@@ -257,7 +257,7 @@ static void ppc440_pcix_reg_write4(void *opaque, hwaddr addr,break ;case PCIX0_PIM2SAL : s->pim[2 ].sa &=0xffffffff00000000ULL ; - s->pim[2 ].sa = val; + s->pim[2 ].sa |= val;ppc440_pcix_update_pim (s,2 );break ;case PCIX0_PIM2LAL :
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson