numam-spdk/lib/bdev
Daniel Verkamp 59f2a376a3 virtio: check socket path snprintf() return code
Fixes a GCC 7 warning:

  rte_virtio/virtio_user/vhost_user.c: In function ‘vhost_user_setup’:
  rte_virtio/virtio_user/vhost_user.c:439:46: error: ‘%s’ directive output
  may be truncated writing up to 4095 bytes into a region of size 108
  [-Werror=format-truncation=]
    snprintf(un.sun_path, sizeof(un.sun_path), "%s", dev->path);

Change-Id: I147c9efe93cc6ce9370da6443f181f916457e3e6
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/375198
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-08-22 13:51:10 -04:00
..
aio bdev/aio: dump filename in driver_specific JSON 2017-08-11 19:36:30 -04:00
error bdev/error: release bdev and close desc on shutdown 2017-08-09 13:24:40 -04:00
gpt bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
malloc lib/bdev_malloc: add support for the write_zeroes I/O type 2017-08-21 12:41:21 -04:00
null bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
nvme bdev: add API to get optimal I/O boundary 2017-08-17 17:56:18 -04:00
rbd bdev/rbd: add get_bdevs JSON dump function 2017-08-16 15:57:04 -04:00
rpc bdev: add write_zeroes function 2017-08-15 15:27:09 -04:00
split bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
virtio virtio: check socket path snprintf() return code 2017-08-22 13:51:10 -04:00
bdev.c Fixed all SPDK_LOG() calls without newline char 2017-08-18 18:56:51 -04:00
Makefile virtio: add initial rev of virtio-scsi initiator bdev module 2017-08-22 11:54:15 -04:00
scsi_nvme.c bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00