From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B1020AD95 for ; Mon, 23 Feb 2015 15:17:53 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 23 Feb 2015 06:12:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,631,1418112000"; d="scan'208";a="689439769" Received: from unknown (HELO Sent) ([10.217.248.233]) by orsmga002.jf.intel.com with SMTP; 23 Feb 2015 06:17:50 -0800 Received: by Sent (sSMTP sendmail emulation); Mon, 23 Feb 2015 15:10:16 +0100 From: Pawel Wodkowski To: dev@dpdk.org Date: Mon, 23 Feb 2015 15:09:55 +0100 Message-Id: <1424700600-1765-1-git-send-email-pawelx.wodkowski@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH 0/5] Fix issues reported by static analysis tool X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 14:17:54 -0000 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