diff options
| author | Christophe Leroy <[email protected]> | 2022-01-21 08:06:38 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-02-12 22:47:43 +1100 |
| commit | 6836f099039e6c72fb548bf527345aa4345c3308 (patch) | |
| tree | 1804bc30780a8a64ce7e6120fea58228eca2c756 /tools/perf/scripts/python | |
| parent | 7c3bba91999075f4cfcab0542e4eb74d2d63554b (diff) | |
powerpc/lib/sstep: use truncate_if_32bit()
Use truncate_if_32bit() when possible instead of open coding.
truncate_if_32bit() returns an unsigned long, so don't use it when
a signed value is expected.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/7e1c07123f13156d4a27991a2e2694fb584bc068.1642752375.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions