Skip to content
Commit fb598262 authored by Beilei Xing's avatar Beilei Xing Committed by Jeff Kirsher
Browse files

i40e: fix shifts of signed values



This patch fixes following error reported by cppcheck:
(error) Shifting signed 32-bit value by 31 bits is undefined behaviour

Signed-off-by: default avatarBeilei Xing <beilei.xing@intel.com>
Signed-off-by: default avatarFerruh Yigit <ferruh.yigit@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 408bfc38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment