diff options
author | I Hsin Cheng <richard120310@gmail.com> | 2025-05-06 02:43:38 +0800 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2025-05-09 20:53:07 +0200 |
commit | eb0851e14432f3b87c77b704c835ac376deda03a (patch) | |
tree | 21f578ee96ccec0e46b9f78314d7cbbe932e01a3 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 7c6fa1797a725732981f2d77711c867166737719 (diff) |
drm/meson: Use 1000ULL when operating with mode->clock
Coverity scan reported the usage of "mode->clock * 1000" may lead to
integer overflow. Use "1000ULL" instead of "1000"
when utilizing it to avoid potential integer overflow issue.
Link: https://scan5.scan.coverity.com/#/project-view/10074/10063?selectedIssue=1646759
Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Fixes: 1017560164b6 ("drm/meson: use unsigned long long / Hz for frequency types")
Link: https://lore.kernel.org/r/20250505184338.678540-1-richard120310@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions