[Intel-wired-lan] [next PATCH S8 01/12] i40e: fix shifts of signed values
Bowers, AndrewX
andrewx.bowers at intel.com
Fri Jul 26 21:56:05 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Tuesday, July 23, 2019 3:02 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Xing, Beilei <beilei.xing at intel.com>; Yigit, Ferruh
> <ferruh.yigit at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S8 01/12] i40e: fix shifts of signed
> values
>
> From: Beilei Xing <beilei.xing at intel.com>
>
> This patch fixes 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>
> ---
> .../net/ethernet/intel/i40e/i40e_register.h | 24 +++++++++----------
> 1 file changed, 12 insertions(+), 12 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list