aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLiam Beguin <[email protected]>2022-01-08 15:53:07 -0500
committerJonathan Cameron <[email protected]>2022-01-30 14:38:03 +0000
commit51593106b608ae4247cc8da928813347da16d025 (patch)
treeebfc852699be68b41c3febec94e32e9659bb16e4 /tools/perf/scripts/python/flamegraph.py
parentca85123354e1a65a22170286387b4791997fe864 (diff)
iio: afe: rescale: use s64 for temporary scale calculations
All four scaling coefficients can take signed values. Make tmp a signed 64-bit integer and switch to div_s64() to preserve signs during 64-bit divisions. Fixes: 8b74816b5a9a ("iio: afe: rescale: new driver") Signed-off-by: Liam Beguin <[email protected]> Reviewed-by: Peter Rosin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions