numam-dpdk/drivers
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
..
baseband bbdev: change names of baseband devices 2018-05-10 17:46:20 +01:00
bus bus/fpga: use strlcpy instead of strncpy 2018-05-13 12:06:01 +02:00
common common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
compress compress/isal: add ISA-L decomp functionality 2018-05-10 17:46:20 +01:00
crypto crypto/ccp: add meson build 2018-05-08 22:26:07 +02:00
event eventdev: add driver interface of crypto adapter 2018-05-10 14:07:37 +02:00
mempool mempool/dpaa2: add functions for CMDIF 2018-05-08 14:14:59 +02:00
net net/i40e: fix missing defines for non-AVX build 2018-05-08 22:14:07 +02:00
raw raw/ifpga: add Intel FPGA bus rawdev driver 2018-05-11 17:09:26 +02:00
Makefile compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00
meson.build compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00