[dpdk-dev] [PATCH] net/i40e: fix shifts of signed values

Zhang, Helin helin.zhang at intel.com
Tue May 22 04:01:52 CEST 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit
> Sent: Monday, May 21, 2018 10:46 PM
> To: Xing, Beilei; Zhang, Qi Z
> Cc: dev at dpdk.org; Yigit, Ferruh
> Subject: [dpdk-dev] [PATCH] net/i40e: fix shifts of signed values
> 
> Fix following error reported by cppcheck:
> (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net-intel, thanks!



More information about the dev mailing list