[dpdk-dev] [PATCH] eal: save error in string copy
Thomas Monjalon
thomas at monjalon.net
Sat Jun 12 10:34:52 CEST 2021
12/06/2021 00:49, Xueming Li:
> From: Thomas Monjalon <thomas at monjalon.net>
>
> Sets rte_errrno if the destination buffer is too small.
Would be good to mention the function name,
and the reason for the change.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
You did half of the patch, so you should add your Signed-off.
> ---
> lib/eal/common/eal_common_string_fns.c | 4 +++-
> lib/eal/common/eal_common_trace.c | 1 -
> lib/eal/include/rte_string_fns.h | 5 ++---
> lib/graph/node.c | 12 +++---------
> 4 files changed, 8 insertions(+), 14 deletions(-)
Did you check all occurences of rte_strcpy?
More information about the dev
mailing list