summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-07-11 15:20:01 +0200
committerVinod Koul <vkoul@kernel.org>2024-08-05 22:30:55 +0530
commitda080d987e20a8b20b368c75826226834c9660a3 (patch)
treeeabdd2c05437888e59c1007026a0461b5e20ebe1 /tools/perf/scripts/python/export-to-postgresql.py
parent8bce5522a13107605709c3b253c09cb1f90850e8 (diff)
dmaengine: dmatest: Explicitly cast divisor to u32
As the comment explains, the while loop ensures that runtime fits into 32 bits. Since do_div() casts the divisor to u32 anyway, explicitly cast runtime to u32 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_s64 instead Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Link: https://lore.kernel.org/r/20240711132001.92157-1-thorsten.blum@toblux.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions