malloc: fix DMA mask check
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Thu, 1 Nov 2018 19:53:24 +0000 (19:53 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Nov 2018 00:01:43 +0000 (01:01 +0100)
commitaf0aa2357d94f4210e679835138cb911d4d55f1c
tree8a5ec19c433410579a7bc6015b08cca470f48895
parentf090c23a04fa36b0114644368f6b0b75ef1198bf
malloc: fix DMA mask check

The param needs to be the maskbits and not the mask.

Fixes: 223b7f1d5ef6 ("mem: add function for checking memseg IOVA")

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/common/malloc_heap.c