All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Yong Wang <yongwang@vmware.com>
Cc: dev@dpdk.org, anatoly.burakov@intel.com, dan@kernelim.com,
	Ronghua Zhang <rzhang@vmware.com>
Subject: Re: [PATCH v2] vfio: fix pci_vfio_map_resource
Date: Fri, 15 Jul 2016 17:32:01 +0200	[thread overview]
Message-ID: <6504660.SWBHcg24lf@xps13> (raw)
In-Reply-To: <1468541710-47751-1-git-send-email-yongwang@vmware.com>

2016-07-14 17:15, Yong Wang:
> -				void *second_addr = RTE_PTR_ADD(bar_addr, memreg[1].offset);
> +				void *second_addr = RTE_PTR_ADD(bar_addr,
> +								memreg[1].offset - reg.offset);

There is an error for 32-bit:
	error: cast to pointer from integer of different size
	note: in expansion of macro ‘RTE_PTR_ADD’

  parent reply	other threads:[~2016-07-15 15:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-07 22:26 [PATCH 1/2] vfio: fix pci_vfio_map_resource Yong Wang
2016-07-07 22:26 ` [PATCH 2/2] vfio: fix coding style Yong Wang
2016-07-14 13:25 ` [PATCH 1/2] vfio: fix pci_vfio_map_resource Thomas Monjalon
2016-07-14 14:50   ` Burakov, Anatoly
2016-07-14 15:34     ` Dan Aloni
2016-07-15  0:15       ` [PATCH v2] " Yong Wang
2016-07-15 13:05         ` Burakov, Anatoly
2016-07-15 15:32         ` Thomas Monjalon [this message]
2016-07-15 16:42           ` Thomas Monjalon
2016-07-15 16:56             ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6504660.SWBHcg24lf@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=anatoly.burakov@intel.com \
    --cc=dan@kernelim.com \
    --cc=dev@dpdk.org \
    --cc=rzhang@vmware.com \
    --cc=yongwang@vmware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.