numam-spdk/lib/iscsi
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
..
acceptor.c io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
acceptor.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
conn.c app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
conn.h lib/iscsi: Remove spdk_iscsi_conn_fn in conn 2018-03-07 10:14:17 -05:00
init_grp.c iscsi: Change function names of iSCSI subsystem configuration 2018-03-09 13:52:04 -05:00
init_grp.h iscsi: Change function names of iSCSI subsystem configuration 2018-03-09 13:52:04 -05:00
iscsi_rpc.c iscsi/rpc: Change the format of get_iscsi_globals about CHAP params 2018-03-14 13:41:22 -04:00
iscsi_subsystem.c iscsi: update the spdk_iscsi_poll_group_poll handling 2018-03-19 15:56:27 -04:00
iscsi.c iscsi: Re-word comment, simplify a return. 2018-03-15 18:31:33 -04:00
iscsi.h iscsi: Add the param MinConnectionPerSession to iSCSI options 2018-03-16 18:22:17 -04:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
md5.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c iscsi: Change the type of some negotiation params from uint32_t to bool 2018-03-14 13:41:22 -04:00
param.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.c iscsi: Change function names of iSCSI subsystem configuration 2018-03-09 13:52:04 -05:00
portal_grp.h iscsi: Change function names of iSCSI subsystem configuration 2018-03-09 13:52:04 -05:00
task.c scsi, iscsi: move task->parent to iSCSI task 2018-01-05 00:01:37 -05:00
task.h scsi, iscsi: move task->parent to iSCSI task 2018-01-05 00:01:37 -05:00
tgt_node.c iscsi: Check the combination of CHAP params for discovery before applied 2018-03-09 13:52:04 -05:00
tgt_node.h iscsi: Check the combination of CHAP params for discovery before applied 2018-03-09 13:52:04 -05:00