[dpdk-dev] [PATCH 0/5] Fix issues reported by static analysis tool

Pawel Wodkowski pawelx.wodkowski at intel.com
Mon Feb 23 15:09:55 CET 2015


Klockwork report some issues against current DPDK version. Most of them need
only cosmetic code changes (changing type of variable or adding explicit cast).

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


Pawel Wodkowski (5):
  rte_timer: fix invalid 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
  Fix usage of fgets in various places

 lib/librte_cfgfile/rte_cfgfile.c                |  2 +-
 lib/librte_cmdline/cmdline_parse_portlist.c     |  4 ++--
 lib/librte_eal/bsdapp/eal/eal.c                 |  2 +-
 lib/librte_eal/linuxapp/eal/eal_hugepage_info.c |  4 ++--
 lib/librte_eal/linuxapp/eal/eal_memory.c        |  2 +-
 lib/librte_eal/linuxapp/eal/eal_pci.c           |  2 +-
 lib/librte_eal/linuxapp/eal/eal_timer.c         |  2 +-
 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_pmd_virtio/virtio_ethdev.c           |  2 +-
 lib/librte_power/rte_power_acpi_cpufreq.c       | 10 +++++-----
 lib/librte_timer/rte_timer.h                    |  4 ++--
 13 files changed, 26 insertions(+), 21 deletions(-)

-- 
1.9.1



More information about the dev mailing list