summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-04-14 01:08:25 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-05-02 02:05:08 +0200
commitdcb57456e73f204beff12e4532aaf573d1115114 (patch)
treed644e765602ca6e5fe07ae195e1322df4b5c1607 /kernel
parenti40e/i40evf : Bump driver version from 1.5.5 to 1.5.10 (diff)
downloadlinux-dcb57456e73f204beff12e4532aaf573d1115114.tar.xz
linux-dcb57456e73f204beff12e4532aaf573d1115114.zip
i40e/i40evf: fix I40E_MASK signed shift overflow warnings
GCC 6 has a new warning which will display when you attempt to left shift a signed value beyond the storage size of the type. I40E_MASK generates a mask value for 32bit registers. Properly typecast the mask value and place the values in parenthesis to prevent macro expansion issues. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions