diff options
author | Wan Jiabing <[email protected]> | 2022-04-26 21:21:26 +0800 |
---|---|---|
committer | Dmitry Baryshkov <[email protected]> | 2022-07-05 06:01:11 +0300 |
commit | 4400c3a1d48f7f7863ca65d24f99ad295b37726c (patch) | |
tree | d84f92c3a59567b690f35f76020b1bf647fb70ab /lib/mpi/mpi-mod.c | |
parent | cfebe3fd599634540960ec37e3a6c2eb8b5bed2f (diff) |
drm/msm: Use div64_ul instead of do_div
Fix following coccicheck warning:
drivers/gpu/drm/msm/msm_gpu_devfreq.c:72:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead.
Use div64_ul instead of do_div to avoid a possible truncation.
Signed-off-by: Wan Jiabing <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Acked-by: Tvrtko Ursulin <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/483499/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions