i40e: use more portable sign extension
Use automatic sign extension by replacing 0xffff... constants with ~(u64)0 or ~(u32)0. Change-ID: I73cab4cd2611795bb12e00f0f24fafaaee07457c Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: NKevin Scott <kevin.c.scott@intel.com> Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
Showing
想要评论请 注册 或 登录