[PATCH v2] drm/meson: Use 1000ULL when operating with mode->clock
Neil Armstrong
neil.armstrong at linaro.org
Fri May 9 11:52:25 PDT 2025
On 09/05/2025 20:27, Martin Blumenstingl wrote:
> 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?
Will add while applying.
Thanks,
Neil
>
>
> Best regards,
> Martin
More information about the linux-amlogic
mailing list