> Mark the rte_log, cmdline_printf and rte_snprintf functions as
> being printf-style functions. This causes compilation errors
> due to mis-matched parameter types, so the parameter types are
> fixed where appropriate.
>
> Changes in V2:
> * Additional fixes for ivshmem-target compilation
>
> Ch
Mark the rte_log, cmdline_printf and rte_snprintf functions as
being printf-style functions. This causes compilation errors
due to mis-matched parameter types, so the parameter types are
fixed where appropriate.
Changes in V2:
* Additional fixes for ivshmem-target compilation
Changes in V3:
* add
> -Original Message-
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Friday, June 20, 2014 4:58 PM
> To: Richardson, Bruce
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3] EAL: fix usage of printf-like functions
>
> On Sat, 21
On Sat, 21 Jun 2014 00:34:30 +0100
Bruce Richardson wrote:
> + (int)(strnlen(buf, sizeof(buf)) - sizeof("_config")),
minor nit, paren not needed here
(int)strnlen(buf, sizeof...)
better yet change rte_snprintf() to take a size_t to make it compatiable
4 matches
Mail list logo