numam-spdk/lib/trace
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
..
Makefile trace: replace DPDK call with SPDK env.h wrapper 2017-12-12 15:37:05 -05:00
trace_flags.c trace: only build mask up to SPDK_TRACE_MAX_GROUP_ID 2018-01-04 12:30:59 -05:00
trace.c app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00