Re: [dpdk-dev] [PATCH] memalloc: fix pointer dereferencing

2019-01-14 Thread Thomas Monjalon
08/01/2019 17:46, Anatoly Burakov: > The original code was supposed to overwrite the value pointed to > by the pointer, but the new one is instead overwriting the > pointer value itself, which has no effect outside that function. > Fix it by adding a pointer dereference. > > Fixes: 582bed1e1d1d ("

[dpdk-dev] [PATCH] memalloc: fix pointer dereferencing

2019-01-08 Thread Anatoly Burakov
The original code was supposed to overwrite the value pointed to by the pointer, but the new one is instead overwriting the pointer value itself, which has no effect outside that function. Fix it by adding a pointer dereference. Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime") Cc: