diff options
author | Adam Ford <aford173@gmail.com> | 2024-12-15 16:05:55 -0600 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-12-24 20:37:56 +0530 |
commit | 739214dd1c209e34323814fb815fb17cccb9f95b (patch) | |
tree | f2211482cfe3b6b3dab65292d15d77d907c32939 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | a2d633cb1421e679b56f1a9fe1f42f089706f1ed (diff) | |
download | linux-739214dd1c209e34323814fb815fb17cccb9f95b.tar.gz linux-739214dd1c209e34323814fb815fb17cccb9f95b.tar.bz2 linux-739214dd1c209e34323814fb815fb17cccb9f95b.zip |
phy: freescale: fsl-samsung-hdmi: Fix 64-by-32 division cocci warnings
The Kernel test robot returns the following warning:
do_div() does a 64-by-32 division, please consider using div64_ul instead.
To prevent the 64-by-32 divsion, consolidate both the multiplication
and the do_div into one line which explicitly uses u64 sizes.
Fixes: 1951dbb41d1d ("phy: freescale: fsl-samsung-hdmi: Support dynamic integer")
Signed-off-by: Adam Ford <aford173@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412091243.fSObwwPi-lkp@intel.com/
Link: https://lore.kernel.org/r/20241215220555.99113-1-aford173@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions