summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-12-13 02:44:17 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-02-19 07:35:36 +0300
commitb9c015d421946fe3675fcb9cbacd0a37f1d3263c (patch)
tree11abda83d343cc45a2d156e6f90f2779741d1d84 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentae13670824d5adadc95a881ebfaa6fa8735218f0 (diff)
downloadlinux-b9c015d421946fe3675fcb9cbacd0a37f1d3263c.tar.xz
i40e: mark the value passed to csum_replace_by_diff as __wsum
Fix, or rather, avoid a sparse warning caused by the fact that csum_replace_by_diff expects to receive a __wsum value. Since the calculation appears to work, simply typecast the passed paylen value to __wsum to avoid the warning. This seems pretty fishy since __wsum was obviously annotated as a separate type on purpose, so this throws the entire calculation into question. Since it currently appears to behave as expected, the typecast is probably safe. Change-ID: I4fdc5cddd589abc16098176e8a61127e761488f4 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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions