DPDK patches and discussions
 help / color / mirror / Atom feed
From: Julien Cretin <julien.cretin@trust-in-soft.com>
To: <dev@dpdk.org>
Subject: [dpdk-dev] [PATCH 0/3] Various patches
Date: Mon, 12 May 2014 17:35:08 +0200	[thread overview]
Message-ID: <1399908911-18829-1-git-send-email-julien.cretin@trust-in-soft.com> (raw)

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

             reply	other threads:[~2014-05-12 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12 15:35 Julien Cretin [this message]
2014-05-12 15:35 ` [dpdk-dev] [PATCH 1/3] app/testpmd: fix minor signed overflow in a constant Julien Cretin
2014-05-12 15:35 ` [dpdk-dev] [PATCH 2/3] mem: remove redundant check in optimize_object_size Julien Cretin
2014-05-12 15:35 ` [dpdk-dev] [PATCH 3/3] app/testpmd: fix incompatible sign for printf arguments Julien Cretin
2014-05-14  9:26 ` [dpdk-dev] [PATCH 0/3] Various patches Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1399908911-18829-1-git-send-email-julien.cretin@trust-in-soft.com \
    --to=julien.cretin@trust-in-soft.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).