Re: [dpdk-dev] [PATCH] eal: save error in string copy

2021-06-12 Thread Xueming(Steven) Li
> -Original Message- > From: Thomas Monjalon > Sent: Saturday, June 12, 2021 4:35 PM > To: Xueming(Steven) Li > Cc: dev@dpdk.org; Jerin Jacob ; Sunil Kumar Kori > ; Kiran Kumar K > ; Nithin Dabilpuram ; > david.march...@redhat.com > Subject: Re: [PATCH] eal: save error in string copy

Re: [dpdk-dev] [PATCH] eal: save error in string copy

2021-06-12 Thread Thomas Monjalon
12/06/2021 00:49, Xueming Li: > From: Thomas Monjalon > > 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 You did half of the patch, so you should add your Signed-off. > ---

[dpdk-dev] [PATCH] eal: save error in string copy

2021-06-11 Thread Xueming Li
From: Thomas Monjalon Sets rte_errrno if the destination buffer is too small. Signed-off-by: Thomas Monjalon --- 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