4c80789430
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:
|
||
---|---|---|
.. | ||
ifpga_bus.c | ||
ifpga_common.c | ||
ifpga_common.h | ||
ifpga_logs.h | ||
Makefile | ||
meson.build | ||
rte_bus_ifpga_version.map | ||
rte_bus_ifpga.h |