[PATCH v2] drm/meson: Use 1000ULL when operating with mode->clock
I Hsin Cheng
richard120310 at gmail.com
Sat May 10 05:46:08 PDT 2025
On Fri, May 09, 2025 at 08:56:01PM +0200, Neil Armstrong wrote:
> Hi,
>
> On Tue, 06 May 2025 02:43:38 +0800, 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.
> >
> >
>
> Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-fixes)
>
> [1/1] drm/meson: Use 1000ULL when operating with mode->clock
> https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/eb0851e14432f3b87c77b704c835ac376deda03a
>
> --
> Neil
>
Hi Neil, Hi Martin,
Thanks for your kindness for adding the tag for me, I'll make sure to
add Fixes tag in future when I send patches.
Big thanks!
Best regards,
I Hsin Cheng.
More information about the linux-amlogic
mailing list