numam-dpdk/drivers/bus/ifpga
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
..
ifpga_bus.c bus/fpga: use strlcpy instead of strncpy 2018-05-13 12:06:01 +02:00
ifpga_common.c bus/ifpga: add Intel FPGA bus library 2018-05-11 17:08:32 +02:00
ifpga_common.h bus/ifpga: add Intel FPGA bus library 2018-05-11 17:08:32 +02:00
ifpga_logs.h bus/ifpga: add Intel FPGA bus library 2018-05-11 17:08:32 +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
rte_bus_ifpga_version.map bus/ifpga: add Intel FPGA bus library 2018-05-11 17:08:32 +02:00
rte_bus_ifpga.h bus/ifpga: add Intel FPGA bus library 2018-05-11 17:08:32 +02:00