numam-dpdk/drivers/crypto/scheduler
Jerin Jacob e5e193acf0 crypto/scheduler: fix build with gcc 8.2
build_error:

drivers/crypto/scheduler/scheduler_pmd.c: In function ‘parse_name_arg’:
drivers/crypto/scheduler/scheduler_pmd.c:372:2: error: ‘strncpy’
specified bound 64 equals destination size [-Werror=stringop-truncation]
  strncpy(params->name, value, RTE_CRYPTODEV_NAME_MAX_LEN);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
strncpy may result a not null-terminated string,
replaced it with strlcpy

Fixes: 503e9c5afb ("crypto/scheduler: register as vdev driver")
Cc: stable@dpdk.org

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2018-11-04 22:25:20 +01:00
..
Makefile drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build crypto/scheduler: add in meson build 2018-09-18 22:53:35 +02:00
rte_cryptodev_scheduler_operations.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_cryptodev_scheduler.c drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
rte_cryptodev_scheduler.h drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
rte_pmd_crypto_scheduler_version.map crypto/scheduler: remove deprecated functions 2017-06-28 21:51:51 +02:00
scheduler_failover.c drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
scheduler_multicore.c drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
scheduler_pkt_size_distr.c drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
scheduler_pmd_ops.c add missing static keyword to globals 2018-10-29 02:01:08 +01:00
scheduler_pmd_private.h drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
scheduler_pmd.c crypto/scheduler: fix build with gcc 8.2 2018-11-04 22:25:20 +01:00
scheduler_roundrobin.c drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00