Re: [dpdk-dev] [PATCH 1/2] log: remove useless intermediate buffer

2018-06-27 Thread David Marchand
On Wed, Jun 27, 2018 at 6:19 PM, Thomas Monjalon wrote: > 25/06/2018 16:42, Olivier Matz: >> On Thu, May 31, 2018 at 10:03:27AM +0200, David Marchand wrote: >> > Rather than copy the log message, we can use a precision in the format >> > string given to syslog. >> > >> > Fixes: af75078fece3 ("firs

Re: [dpdk-dev] [PATCH 1/2] log: remove useless intermediate buffer

2018-06-27 Thread Thomas Monjalon
25/06/2018 16:42, Olivier Matz: > On Thu, May 31, 2018 at 10:03:27AM +0200, David Marchand wrote: > > Rather than copy the log message, we can use a precision in the format > > string given to syslog. > > > > Fixes: af75078fece3 ("first public release") I remove the Fixes: line because we don't n

Re: [dpdk-dev] [PATCH 1/2] log: remove useless intermediate buffer

2018-06-25 Thread Olivier Matz
On Thu, May 31, 2018 at 10:03:27AM +0200, David Marchand wrote: > Rather than copy the log message, we can use a precision in the format > string given to syslog. > > Fixes: af75078fece3 ("first public release") > Signed-off-by: David Marchand Reviewed-by: Olivier Matz

[dpdk-dev] [PATCH 1/2] log: remove useless intermediate buffer

2018-05-31 Thread David Marchand
Rather than copy the log message, we can use a precision in the format string given to syslog. Fixes: af75078fece3 ("first public release") Signed-off-by: David Marchand --- lib/librte_eal/linuxapp/eal/eal_log.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/li