numam-spdk/lib/env_dpdk
Pawel Wodkowski 35aefc9e84 app,lib: fix checking mmap return value
Some places use NULL to check for mmap failure but mmap return
MAP_FAILED in this case.

Change-Id: I4796fa52421da53c94223a9e8cc26ac04968f1d8
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/405648
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-03-30 16:18:34 -04:00
..
env_internal.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
env.c env/dpdk: use MEMPOOL_F_NO_PHYS_CONTIG 2018-03-27 21:23:53 -04:00
env.mk env_dpdk: remove hard-coded library paths 2018-02-23 11:07:38 -05:00
init.c app: add -g flag hinting dpdk to create just one hugetlbfs file 2018-03-27 21:23:53 -04:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c env: bump max virtual address map from 128tb to 256tb 2018-01-25 11:05:59 -05:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_virtio.c bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00
pci.c app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
threads.c env_dpdk: add an assert check for last core 2018-02-22 10:43:59 -05:00
vtophys.c env/dpdk: support memsegs without phys addr assigned 2018-03-27 21:23:53 -04:00