Re: [PATCH] drm/meson: Cast mode->clock to unsigned long long

2025-05-05 Thread I Hsin Cheng
On Sun, May 04, 2025 at 11:06:06PM +0200, Martin Blumenstingl wrote: > On Tue, Apr 29, 2025 at 11:00 PM Christophe JAILLET > wrote: > > > > Le 29/04/2025 à 21:07, I Hsin Cheng a écrit : > > > Coverity scan reported the usage of "mode->clock * 1000" may lead to > > > integer overflow. Cast the type

Re: [PATCH] drm/meson: Cast mode->clock to unsigned long long

2025-05-04 Thread Martin Blumenstingl
On Tue, Apr 29, 2025 at 11:00 PM Christophe JAILLET wrote: > > Le 29/04/2025 à 21:07, I Hsin Cheng a écrit : > > Coverity scan reported the usage of "mode->clock * 1000" may lead to > > integer overflow. Cast the type of "mode->clock" to "unsigned long long" > > when utilizing it to avoid potentia

[PATCH] drm/meson: Cast mode->clock to unsigned long long

2025-04-29 Thread I Hsin Cheng
Coverity scan reported the usage of "mode->clock * 1000" may lead to integer overflow. Cast the type of "mode->clock" to "unsigned long long" when utilizing it to avoid potential integer overflow issue. Link: https://scan5.scan.coverity.com/#/project-view/10074/10063?selectedIssue=1646759 Signed-

Re: [PATCH] drm/meson: Cast mode->clock to unsigned long long

2025-04-29 Thread Christophe JAILLET
Le 29/04/2025 à 21:07, I Hsin Cheng a écrit : Coverity scan reported the usage of "mode->clock * 1000" may lead to integer overflow. Cast the type of "mode->clock" to "unsigned long long" when utilizing it to avoid potential integer overflow issue. Link: https://scan5.scan.coverity.com/#/projec