aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorChangcheng Deng <[email protected]>2021-11-18 08:06:34 +0000
committerAbel Vesa <[email protected]>2021-11-22 15:29:23 +0200
commitc1b6ad9a902539f9c037b6b3c35cb134c5724022 (patch)
treec5b7b6e0006fe017f658f948e37f74b9d81a15c1 /net/lapb/lapb_iface.c
parentb5e29cf7617cfae70a5d8b850b26cd3cdd7deaa0 (diff)
clk: imx: Use div64_ul instead of do_div
do_div() does a 64-by-32 division. Here the divisor is an unsigned long which on some platforms is 64 bit wide. So use div64_ul instead of do_div to avoid a possible truncation. Reported-by: Zeal Robot <[email protected]> Signed-off-by: Changcheng Deng <[email protected]> Reviewed-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abel Vesa <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions