DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Jie Wang <jie1x.wang@intel.com>, <dev@dpdk.org>
Cc: <orika@nvidia.com>
Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix error definition type
Date: Thu, 28 Oct 2021 19:04:56 +0100	[thread overview]
Message-ID: <30936a8a-fe43-d079-ca3a-6e55fc34f15e@intel.com> (raw)
In-Reply-To: <20211027020152.1928220-1-jie1x.wang@intel.com>

On 10/27/2021 3:01 AM, Jie Wang wrote:
> In "msg_type |= 0xc800", wider "51200" has high-order bits (0xc800)
> that don't affect the narrower left-hand side.
> 
> This patch fixs coverity issue by changing the definition type of
> "msg_type" from uint8_t to uint16_t.
> 
> Coverity issue: 373651
> Fixes: 748530f0354e ("app/testpmd: support L2TPv2 and PPP protocol pattern")
> 
> Signed-off-by: Jie Wang <jie1x.wang@intel.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/main, thanks.

      reply	other threads:[~2021-10-28 18:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27  2:01 Jie Wang
2021-10-28 18:04 ` Ferruh Yigit [this message]

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=30936a8a-fe43-d079-ca3a-6e55fc34f15e@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=dev@dpdk.org \
    --cc=jie1x.wang@intel.com \
    --cc=orika@nvidia.com \
    /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).