Re: [dpdk-dev] [PATCH v3 6/9] mem: fix comparing pointer to value

2018-04-27 Thread Bruce Richardson
On Wed, Apr 25, 2018 at 10:56:44AM +0100, Anatoly Burakov wrote: > Previous code had an old rebase leftover from the time when > oldpolicy was an actual int, instead of a pointer. Fix it to > do comparison with dereferencing the pointer. > > Coverity issue: 272589 > > Fixes: 582bed1e1d1d ("mem: s

[dpdk-dev] [PATCH v3 6/9] mem: fix comparing pointer to value

2018-04-25 Thread Anatoly Burakov
Previous code had an old rebase leftover from the time when oldpolicy was an actual int, instead of a pointer. Fix it to do comparison with dereferencing the pointer. Coverity issue: 272589 Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime") Cc: anatoly.bura...@intel.com Signed-off