eal: fix container_of macro for const members
authorJan Blunck <jblunck@infradead.org>
Tue, 14 Feb 2017 14:36:05 +0000 (15:36 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 8 Mar 2017 12:48:36 +0000 (13:48 +0100)
commit7cfd28057832898ab1793603b2d1724039a9e18a
tree1136a73a75d8bc8aea2cef74f530ec83c51399c9
parentb0c958e14dee3570a684fafb0ef5ca9c86c6f80d
eal: fix container_of macro for const members

This fixes the usage of structure members that are declared const to get
a pointer to the embedding parent structure.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/common/include/rte_common.h