[dpdk-dev] [PATCH] mem: more const qualifiers in malloc API

2013-07-26 Thread Thomas Monjalon
26/07/2013 16:37, Adrien Mazarguil : > On Fri, Jul 26, 2013 at 04:06:40PM +0200, Thomas Monjalon wrote: > > Some functions don't modify their parameter which should be marked as > > const. > > > > Signed-off-by: Thomas Monjalon > > --- > > > > lib/librte_malloc/malloc_elem.h |6 +++--- > >

[dpdk-dev] [PATCH] mem: more const qualifiers in malloc API

2013-07-26 Thread Adrien Mazarguil
On Fri, Jul 26, 2013 at 04:06:40PM +0200, Thomas Monjalon wrote: > Some functions don't modify their parameter which should be marked as const. > > Signed-off-by: Thomas Monjalon > --- > lib/librte_malloc/malloc_elem.h |6 +++--- > lib/librte_malloc/malloc_heap.c |2 +- > lib/librte_mall

[dpdk-dev] [PATCH] mem: more const qualifiers in malloc API

2013-07-26 Thread Thomas Monjalon
Some functions don't modify their parameter which should be marked as const. Signed-off-by: Thomas Monjalon --- lib/librte_malloc/malloc_elem.h |6 +++--- lib/librte_malloc/malloc_heap.c |2 +- lib/librte_malloc/malloc_heap.h |2 +- lib/librte_malloc/rte_malloc.c |4 ++-- lib/li