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, RTE_CRYPTODEV_NAME_MAX_LEN);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> strncpy may result a not null-terminated string,
> replaced it with strlcpy
>
> Fixes: 503e9c5afb38 ("crypto/scheduler: register as vdev driver")
> Cc: [email protected]
>
> Signed-off-by: Jerin Jacob <[email protected]>
Applied, thanks