Re: [dpdk-dev] [PATCH] crypto/scheduler: fix build with gcc 8.2

2018-11-04 Thread Thomas Monjalon
03/11/2018 15:58, Jerin Jacob: > 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, R

[dpdk-dev] [PATCH] crypto/scheduler: fix build with gcc 8.2

2018-11-03 Thread Jerin Jacob
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); ^