numam-spdk/lib/bdev
Shuhei Matsumoto 8a295129e1 bdev: Fix scan build error by checking the limit of parent iovec
scan-build requests to check the size of parent iovec by using
artificially large LBA in unit tests.

Fix the error by using not pointer but position and checking if
position is less than count of parent iovec.

Change-Id: I74c4f6d1b68ecfca93e9247acc5ac6bd5412a960
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/427965
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-10-05 21:57:34 +00:00
..
aio thread: Add a name parameter to spdk_register_io_device 2018-09-05 16:00:54 +00:00
crypto spdk: fix check_format.sh 2018-10-05 16:02:48 +00:00
error bdev_split: add support for bdev_io_wait when no memory to submit 2018-10-04 23:27:13 +00:00
gpt bdev_split: add support for bdev_io_wait when no memory to submit 2018-10-04 23:27:13 +00:00
iscsi iscsi: free lun after bdev_destruct_done returns 2018-09-10 21:08:39 +00:00
lvol lvolstore: Modify vbdev_lvol to use io_unit size instead of page size 2018-09-14 22:46:27 +00:00
malloc bdev/malloc: remove blocklen power of 2 restriction 2018-08-15 17:36:00 +00:00
null thread: Add a name parameter to spdk_register_io_device 2018-09-05 16:00:54 +00:00
nvme mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00
passthru vbdev_passthru: add support for bdev_io_wait 2018-09-25 17:56:39 +00:00
pmem thread: Add a name parameter to spdk_register_io_device 2018-09-05 16:00:54 +00:00
raid bdev/raid: raid_bdev_add_base_devices: fix wrong param of spdk_strerror 2018-10-04 21:39:40 +00:00
rbd bdev/rbd: fix memory leak and spdk_io_device_register fail 2018-09-05 19:26:24 +00:00
rpc QoS/Bdev: add the QoS related structure and enumeration 2018-10-02 22:10:13 +00:00
split bdev_split: add support for bdev_io_wait when no memory to submit 2018-10-04 23:27:13 +00:00
virtio thread: Add a name parameter to spdk_register_io_device 2018-09-05 16:00:54 +00:00
bdev.c bdev: Fix scan build error by checking the limit of parent iovec 2018-10-05 21:57:34 +00:00
Makefile CONFIG: add missing CONFIG_ options 2018-10-04 21:31:42 +00:00
part.c bdev_split: add support for bdev_io_wait when no memory to submit 2018-10-04 23:27:13 +00:00
scsi_nvme.c bdev: move error union to internal spdk_bdev_io struct 2018-06-26 20:04:07 +00:00
vtune.c mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00