Thread (7 messages) 7 messages, 3 authors, 2025-05-10

Re: [PATCH v2] drm/meson: Use 1000ULL when operating with mode->clock

From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Date: 2025-05-06 05:40:40
Also in: dri-devel, linux-amlogic, lkml

On Mon, May 5, 2025 at 8:43 PM I Hsin Cheng [off-list ref] 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 <redacted>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>


Thank you and best regards,
Martin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help