[PATCH v2] drm/meson: Use 1000ULL when operating with mode->clock
Martin Blumenstingl
martin.blumenstingl at googlemail.com
Fri May 9 11:27:47 PDT 2025
On Fri, May 9, 2025 at 5:35 PM <neil.armstrong at linaro.org> wrote:
>
> On 05/05/2025 20:43, I Hsin Cheng wrote:
> > 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 at gmail.com>
>
> Could you add a Fixes tag ?
Fixes: 1017560164b6 ("drm/meson: use unsigned long long / Hz for
frequency types")
Neil, can you add this while applying or do we need a v3?
Best regards,
Martin
More information about the linux-arm-kernel
mailing list