summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2021-03-25 17:38:30 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-05-26 09:11:41 -0700
commit9fb8602e565d71e0747ad149690d536d20a70b58 (patch)
treed5f1603e9efee92f2fd584a9c1971b80a0107d50 /tools/perf/scripts/python/export-to-postgresql.py
parentb514958dd1a3bd57638b0e63b8e5152b1960e6aa (diff)
igb: override two checker warnings
The igb PTP code was using htons() on a constant to try to byte swap the value before writing it to a register. This byte swap has the consequence of triggering sparse conflicts between the register write which expect cpu ordered input, and the code which generated a big endian constant. Just override the cast to make sure code doesn't change but silence the warning. Can't do a __swab16 in this case because big endian systems would then write the wrong value. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Dave Switzer <david.switzer@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions