numam-dpdk/drivers/bus
Pablo de Lara 4c80789430 bus/fpga: use strlcpy instead of strncpy
Gcc 8 reports a build error:

drivers/bus/ifpga/ifpga_bus.c:161:2: error: ‘strncpy’ specified
bound 256 equals destination size [-Werror=stringop-truncation]
  strncpy(afu_pr_conf.bs_path, path, sizeof(afu_pr_conf.bs_path));
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes: 05fa3d4a65 ("bus/ifpga: add Intel FPGA bus library")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2018-05-13 12:06:01 +02:00
..
dpaa bus/dpaa: optimize physical to virtual address search 2018-04-27 21:41:33 +02:00
fslmc crypto/dpaa2_sec: remove IOVA conversion for fle address 2018-05-10 17:46:20 +01:00
ifpga bus/fpga: use strlcpy instead of strncpy 2018-05-13 12:06:01 +02:00
pci bus/pci: fix find device implementation 2018-04-27 16:31:44 +02:00
vdev bus/vdev: fix find device implementation 2018-04-27 16:31:49 +02:00
Makefile bus/ifpga: add Intel FPGA bus library 2018-05-11 17:08:32 +02:00
meson.build bus/ifpga: add Intel FPGA bus library 2018-05-11 17:08:32 +02:00