diff options
| author | Dinh Nguyen <[email protected]> | 2020-01-14 16:07:25 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2020-02-12 23:41:28 +0000 |
| commit | cc26ed7be46c5f5fa45f3df8161ed7ca3c4d318c (patch) | |
| tree | 628caa57eba05bb2e067eb5006b42be41d69e2da /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | Linux 5.6-rc1 (diff) | |
| download | kernel-cc26ed7be46c5f5fa45f3df8161ed7ca3c4d318c.tar.gz kernel-cc26ed7be46c5f5fa45f3df8161ed7ca3c4d318c.zip | |
clk: stratix10: use do_div() for 64-bit calculation
do_div() macro to perform u64 division and guards against overflow if
the result is too large for the unsigned long return type.
Signed-off-by: Dinh Nguyen <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
