Re: [dpdk-dev] [PATCH v1] lib/metrics: disallow NULL as metric name

2018-07-26 Thread Thomas Monjalon
20/07/2018 17:30, Ferruh Yigit: > On 7/2/2018 2:46 PM, Remy Horton wrote: > > This patch adds a sanity check so that names passed into > > rte_metrics_reg_names() and the wrapper rte_metrics_reg_name() > > cannot be NULL. > > > > Fixes: 349950ddb9c5 ("metrics: add information metrics library") > >

Re: [dpdk-dev] [PATCH v1] lib/metrics: disallow NULL as metric name

2018-07-20 Thread Ferruh Yigit
On 7/2/2018 2:46 PM, Remy Horton wrote: > This patch adds a sanity check so that names passed into > rte_metrics_reg_names() and the wrapper rte_metrics_reg_name() > cannot be NULL. > > Fixes: 349950ddb9c5 ("metrics: add information metrics library") > > Signed-off-by: Remy Horton Acked-by: Fer

[dpdk-dev] [PATCH v1] lib/metrics: disallow NULL as metric name

2018-07-02 Thread Remy Horton
This patch adds a sanity check so that names passed into rte_metrics_reg_names() and the wrapper rte_metrics_reg_name() cannot be NULL. Fixes: 349950ddb9c5 ("metrics: add information metrics library") Signed-off-by: Remy Horton --- lib/librte_metrics/rte_metrics.c | 3 +++ 1 file changed, 3 ins