> -----Original Message-----
> From: Steve Yang <stevex.y...@intel.com>
> Sent: Thursday, February 24, 2022 9:17 AM
> To: dev@dpdk.org
> Cc: Yigit, Ferruh <ferruh.yi...@intel.com>; Xing, Beilei
> <beilei.x...@intel.com>;
> Yang, SteveX <stevex.y...@intel.com>; sta...@dpdk.org
> Subject: [PATCH v2] net/i40e: fix unintentional integer overflow
>
> Cast 1 to type uint64_t to avoid overflow.
>
> CID 375812 (#1 of 1):
> Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)
> overflow_before_widen: Potentially overflowing expression 1 << 2 * i + 1 with
> type int (32 bits, signed) is evaluated using 32-bit arithmetic, and then
> used in a
> context that expects an expression of type uint64_t
> (64 bits, unsigned).
>
> Coverity issue: 375812
> Fixes: 5fec01c35c49 ("net/i40e: support Linux VF to configure IRQ link list")
> Cc: sta...@dpdk.org
>
> ---
> v2: update commit message.
>
> Signed-off-by: Steve Yang <stevex.y...@intel.com>
Acked-by: Qi Zhang <qi.z.zh...@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi