[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH] ppc440_pcix: Fix a typo in setting a register (Co
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH] ppc440_pcix: Fix a typo in setting a register (Coverity CID1390577) |
Date: |
Sat, 5 May 2018 12:20:52 +1000 |
User-agent: |
Mutt/1.9.3 (2018-01-21) |
On Fri, May 04, 2018 at 10:45:50AM +0200, BALATON Zoltan wrote:
> Signed-off-by: BALATON Zoltan <address@hidden>
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.
> ---
> hw/ppc/ppc440_pcix.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/ppc/ppc440_pcix.c b/hw/ppc/ppc440_pcix.c
> index b1307e6..d8af04b 100644
> --- a/hw/ppc/ppc440_pcix.c
> +++ b/hw/ppc/ppc440_pcix.c
> @@ -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:
--
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
signature.asc
Description: PGP signature