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

Xueming(Steven) Li xuemingl at nvidia.com
Sun Jun 13 01:06:45 CEST 2021



> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Saturday, June 12, 2021 4:35 PM
> To: Xueming(Steven) Li <xuemingl at nvidia.com>
> Cc: dev at dpdk.org; Jerin Jacob <jerinj at marvell.com>; Sunil Kumar Kori <skori at marvell.com>; Kiran Kumar K
> <kirankumark at marvell.com>; Nithin Dabilpuram <ndabilpuram at marvell.com>; david.marchand at redhat.com
> Subject: Re: [PATCH] eal: save error in string copy
> 
> 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?

Yes, looks not too much to modify. 



More information about the dev mailing list