Skip to content

Fix issues reported by static analysis tool

Pawel Wodkowski dpdk-dev 2 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied
  2. v15 patches 12 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4rte_timer: change declaration of rte_timer_cb_tlib/librte_timer/rte_timer.h+2 -20 replies
2/4librte_kvargs: make rte_kvargs_free() be consistent with other "free()" functionslib/librte_kvargs/rte_kvargs.c lib/librte_kvargs/rte_kvargs.h+6 -10 replies
3/4pmd ring: fix possible memory leak during devinitlib/librte_pmd_ring/rte_eth_ring.c+3 -30 replies
4/4cmdline: make parse_set_list() use size_t instead of int for low/high parameterlib/librte_cmdline/cmdline_parse_portlist.c+2 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchOlivier Matz
SeriesA-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Fix issues reported by static analysis tool

Static analysis report some issues against current DPDK version. Most of them need only cosmetic code changes (changing type of variable).

One issue related with ring pmd fix real memory leak problem.

PATCH v2 changes:
- remove patch 5/5 as it was NACKed
- reword commit log acording to mailing list sugestions.

Pawel Wodkowski (4):
rte_timer: change declaration of rte_timer_cb_t
librte_kvargs: make rte_kvargs_free() be consistent with other
"free()" functions
pmd ring: fix possible memory leak during devinit
cmdline: make parse_set_list() use size_t instead of int for low/high
parameter

 lib/librte_cmdline/cmdline_parse_portlist.c | 4 ++--
 lib/librte_kvargs/rte_kvargs.c              | 4 ++++
 lib/librte_kvargs/rte_kvargs.h              | 3 ++-
 lib/librte_pmd_ring/rte_eth_ring.c          | 6 +++---
 lib/librte_timer/rte_timer.h                | 4 ++--
 5 files changed, 13 insertions(+), 8 deletions(-)
Signature · 1 line
1.9.1