aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorGeorge Stark <[email protected]>2024-04-25 20:12:53 +0300
committerUwe Kleine-König <[email protected]>2024-04-30 18:57:09 +0200
commit32c44e1fa921aebf8a5ef9f778534a30aab39313 (patch)
treefc2b9a15276f5798c800d624d147f58175c6fa24 /tools/testing/selftests/bpf/progs/test_autoload.c
parent3e551115aee079931b82e1ec78c05f3d5033473f (diff)
pwm: meson: Use mul_u64_u64_div_u64() for frequency calculating
While calculating frequency for the given period u64 numbers are multiplied before division what can lead to overflow in theory so use secure mul_u64_u64_div_u64() which handles overflow correctly. Fixes: 329db102a26d ("pwm: meson: make full use of common clock framework") Suggested-by: Uwe Kleine-König <[email protected]> Signed-off-by: George Stark <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions