Re: [dpdk-dev] [PATCH 1/2] Fix container_of() macro to work with const members

2017-03-08 Thread Thomas Monjalon
2017-02-27 15:14, Bruce Richardson: > On Mon, Feb 27, 2017 at 03:28:14PM +0100, Jan Blunck wrote: > > On Tue, Feb 14, 2017 at 3:36 PM, Jan Blunck wrote: > > > This fixes the usage of structure members that are declared const to get > > > a pointer to the embedding parent structure. > > > > Ping.

Re: [dpdk-dev] [PATCH 1/2] Fix container_of() macro to work with const members

2017-02-27 Thread Bruce Richardson
On Mon, Feb 27, 2017 at 03:28:14PM +0100, Jan Blunck wrote: > On Tue, Feb 14, 2017 at 3:36 PM, Jan Blunck wrote: > > This fixes the usage of structure members that are declared const to get > > a pointer to the embedding parent structure. > > Ping. Is anyone willing to review this? > Looks ok to

Re: [dpdk-dev] [PATCH 1/2] Fix container_of() macro to work with const members

2017-02-27 Thread Jan Blunck
On Tue, Feb 14, 2017 at 3:36 PM, Jan Blunck wrote: > This fixes the usage of structure members that are declared const to get > a pointer to the embedding parent structure. Ping. Is anyone willing to review this? Thanks, Jan > > Signed-off-by: Jan Blunck > --- > lib/librte_eal/common/include/