From: Shahaf Shuler <shahafs@mellanox.com>
To: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Cc: Ferruh Yigit <ferruh.yigit@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>,
"stable@dpdk.org" <stable@dpdk.org>,
Matan Azrad <matan@mellanox.com>
Subject: Re: [dpdk-stable] [PATCH] net/mlx4: fix shifts of signed values
Date: Thu, 17 May 2018 15:46:49 +0000 [thread overview]
Message-ID: <VI1PR05MB44318B6B04A2FFC9E334DA98C3910@VI1PR05MB4431.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <20180516161212.17602-1-adrien.mazarguil@6wind.com>
Wednesday, May 16, 2018 7:21 PM, Adrien Mazarguil:
> Subject: [PATCH] net/mlx4: fix shifts of signed values
>
> This patch addresses the following issues reported by cppcheck:
>
> [drivers/net/mlx4/mlx4_rxtx.c:266]: (error) Shifting signed 32-bit value
> by 31 bits is undefined behaviour
> [drivers/net/mlx4/mlx4_rxtx.c:624]: (error) Shifting signed 32-bit value
> by 31 bits is undefined behaviour
> [drivers/net/mlx4/mlx4_txq.c:89]: (error) Shifting signed 32-bit value by
> 31 bits is undefined behaviour
> [drivers/net/mlx4/mlx4_txq.c:91]: (error) Shifting signed 32-bit value by
> 31 bits is undefined behaviour
>
> Fixes: 78e81a9844f8 ("net/mlx4: merge Tx queue rings management")
> Cc: stable@dpdk.org
> Cc: Matan Azrad <matan@mellanox.com>
>
> Reported-by: Ferruh Yigit <ferruh.yigit@intel.com>
> Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Applied to next-net-mlx, thanks.
prev parent reply other threads:[~2018-05-17 15:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-16 16:20 Adrien Mazarguil
2018-05-17 15:46 ` Shahaf Shuler [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=VI1PR05MB44318B6B04A2FFC9E334DA98C3910@VI1PR05MB4431.eurprd05.prod.outlook.com \
--to=shahafs@mellanox.com \
--cc=adrien.mazarguil@6wind.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=matan@mellanox.com \
--cc=stable@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).