From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pawel Wodkowski Subject: [PATCH 0/5] Fix issues reported by static analysis tool Date: Mon, 23 Feb 2015 15:09:55 +0100 Message-ID: <1424700600-1765-1-git-send-email-pawelx.wodkowski@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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