From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ex.trust-in-soft.com (ex.trust-in-soft.com [188.165.147.96]) by dpdk.org (Postfix) with ESMTP id A166D312 for ; Mon, 12 May 2014 17:35:15 +0200 (CEST) Received: from localhost.localdomain (84.14.219.4) by S1688.EX1688.lan (2001:41d0:6b:b00::bca5:9360) with Microsoft SMTP Server (TLS) id 15.0.712.22; Mon, 12 May 2014 17:36:24 +0200 From: Julien Cretin To: Date: Mon, 12 May 2014 17:35:08 +0200 Message-ID: <1399908911-18829-1-git-send-email-julien.cretin@trust-in-soft.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [84.14.219.4] X-ClientProxiedBy: S1688.EX1688.lan (2001:41d0:6b:b00::bca5:9360) To S1688.EX1688.lan (2001:41d0:6b:b00::bca5:9360) Subject: [dpdk-dev] [PATCH 0/3] Various patches 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, 12 May 2014 15:35:16 -0000 Hello all, This patch set contains three unrelated patches found by running TrustInSoft Analyzer [1] on some parts of the testpmd application: - The first patch fixes a minor signed overflow in a constant expression of testpmd. - The second patch is not a fix and concerns a suspicious loop condition in optimize_object_size. - The third (and last) patch fixes sign mismatches for some printf arguments. [1] TrustInSoft Analyzer (http://trust-in-soft.com) is a static analyzer. And as such, it gives information about the execution of a source code without actually running it. However, unlike other static analysis tools, it has the particularity of being correct. This means that it does not remain silent when a run-time error may happen in the range of the analysis. In other words, it gives information about all possible executions (defined by the analysis) of a source code without actually running it. Julien Cretin (3): app/testpmd: fix minor signed overflow in a constant mem: remove redundant check in optimize_object_size app/testpmd: fix incompatible sign for printf arguments app/test-pmd/config.c | 16 ++++++++-------- app/test-pmd/testpmd.c | 2 +- app/test-pmd/txonly.c | 4 ++-- lib/librte_mempool/rte_mempool.c | 3 +-- 4 files changed, 12 insertions(+), 13 deletions(-) -- 1.9.1