numam-spdk/app
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
..
iscsi_tgt net: create NET_MODULE for compiling different net_implementations 2018-03-15 17:54:29 -04:00
iscsi_top app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
nvmf_tgt app: remove unnecessary header file 2018-03-29 12:22:38 -04:00
spdk_tgt app: remove unnecessary header file 2018-03-29 12:22:38 -04:00
trace build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
vhost app: remove unnecessary header file 2018-03-29 12:22:38 -04:00
Makefile app/spdk_tgt: add unified SPDK target application 2018-03-09 09:56:44 -05:00