aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2024-07-10 23:00:35 +0200
committerThierry Reding <[email protected]>2024-08-28 17:28:48 +0200
commitb290af0500f09577ad40b9f716d551fd65ceff25 (patch)
treecf2007dea844956f22a6bd425e049e89da3dee42 /tools/perf/scripts/python/libxed.py
parentf790b5c09665cab0d51dfcc84832d79d2b1e6c0e (diff)
drm/tegra: hub: Use fn parameter directly to fix Coccinelle warning
The function parameter out can be used directly instead of assigning it to a temporary u64 variable first. Remove the local variable tmp2 and use the parameter out directly as the divisor in do_div() to remove the following Coccinelle/coccicheck warning reported by do_div.cocci: WARNING: do_div() does a 64-by-32 division, please consider using div64_u64 instead Signed-off-by: Thorsten Blum <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions