[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 2/2] hw: hyperv: vmbus: Fix 32bit compilation
From: |
Igor Mammedov |
Subject: |
Re: [PATCH v5 2/2] hw: hyperv: vmbus: Fix 32bit compilation |
Date: |
Wed, 29 Jul 2020 16:15:47 +0200 |
On Sat, 25 Jul 2020 14:16:08 +0200
Aleksandar Markovic <aleksandar.qemu.devel@gmail.com> wrote:
> On Wednesday, July 15, 2020, Jon Doron <arilou@gmail.com> wrote:
Michael,
could you merge it via your tree please?
>
> > Signed-off-by: Jon Doron <arilou@gmail.com>
> > ---
> > hw/hyperv/vmbus.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c
> > index 34392e892a..c28bb4201b 100644
> > --- a/hw/hyperv/vmbus.c
> > +++ b/hw/hyperv/vmbus.c
> > @@ -383,7 +383,8 @@ static ssize_t gpadl_iter_io(GpadlIter *iter, void
> > *buf, uint32_t len)
> > }
> > }
> >
> > - p = (void *)(((uintptr_t)iter->map & TARGET_PAGE_MASK) |
> > off_in_page);
> > + p = (void *)(uintptr_t)(((uintptr_t)iter->map &
> > TARGET_PAGE_MASK) |
> > + off_in_page);
> > if (iter->dir == DMA_DIRECTION_FROM_DEVICE) {
> > memcpy(p, buf, cplen);
> > } else {
> > --
> > 2.24.1
> >
> >
> >
> Tested-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
> Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
>
> It looks to me this patch should definitely be selected for 5.1.?