diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-04-14 02:08:25 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-05-02 03:05:08 +0300 |
commit | dcb57456e73f204beff12e4532aaf573d1115114 (patch) | |
tree | d644e765602ca6e5fe07ae195e1322df4b5c1607 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5a6fc256e7b64b3073688cc72fae357612cf31c6 (diff) | |
download | linux-dcb57456e73f204beff12e4532aaf573d1115114.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions