Tigran Sogomonian
593b910ebe
hw/misc: cast rpm to uint64_t
...
The value of an arithmetic expression
'rpm * NPCM7XX_MFT_PULSE_PER_REVOLUTION' is a subject
to overflow because its operands are not cast to
a larger data type before performing arithmetic. Thus, need
to cast rpm to uint64_t.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Tigran Sogomonian <tsogomonian@astralinux.ru>
Reviewed-by: Patrick Leis <venture@google.com>
Reviewed-by: Hao Wu <wuhaotsh@google.com>
Message-id: 20241226130311.1349-1-tsogomonian@astralinux.ru
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2025-01-13 12:35:32 +00:00
..
2024-12-21 11:07:00 -05:00
2024-12-19 19:36:37 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2021-02-11 11:50:14 +00:00
2024-12-19 19:36:37 +01:00
2025-01-13 12:35:32 +00:00
2024-09-13 15:31:44 +01:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00
2021-09-01 11:08:18 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-06-16 21:08:54 +02:00
2024-09-13 15:31:44 +01:00
2023-01-18 11:14:34 +01:00
2024-09-13 15:31:44 +01:00
2023-12-30 07:38:06 +11:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-12-20 17:44:56 +01:00
2024-12-21 11:07:00 -05:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-12-21 11:07:00 -05:00
2024-04-25 10:21:06 +01:00
2024-12-19 19:36:37 +01:00
2024-07-02 06:58:48 +02:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00
2024-12-20 17:44:56 +01:00
2024-09-13 15:31:44 +01:00
2022-08-08 23:43:11 +02:00
2023-10-12 14:11:44 +02:00
2024-09-13 20:12:16 +02:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2019-08-16 13:31:53 +02:00
2024-12-20 17:44:56 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2021-05-02 17:24:50 +02:00
2024-09-13 15:31:44 +01:00
2024-04-25 10:21:06 +01:00
2024-12-19 19:36:37 +01:00
2024-12-21 11:07:00 -05:00
2024-12-19 19:36:37 +01:00
2024-12-31 21:21:27 +01:00
2024-12-31 21:21:34 +01:00
2024-12-31 21:21:27 +01:00
2024-12-20 17:44:56 +01:00
2024-12-19 19:36:37 +01:00
2024-12-21 11:07:00 -05:00
2021-05-02 17:24:50 +02:00
2023-01-06 10:42:55 +10:00
2023-01-06 10:42:55 +10:00
2024-12-31 21:21:34 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-20 17:44:56 +01:00
2024-12-19 19:36:37 +01:00
2025-01-13 12:35:32 +00:00
2024-04-25 10:21:06 +01:00
2023-12-30 07:38:06 +11:00
2024-12-19 19:36:37 +01:00
2024-10-01 14:57:55 +01:00
2020-09-18 14:12:32 -04:00
2024-12-21 11:07:00 -05:00
2024-12-21 11:07:00 -05:00
2024-12-21 11:07:00 -05:00
2024-12-20 17:44:56 +01:00
2024-12-20 17:44:56 +01:00
2024-12-21 11:07:00 -05:00
2021-05-02 17:24:50 +02:00
2024-12-20 17:44:56 +01:00
2024-12-21 11:07:00 -05:00
2024-09-13 15:31:44 +01:00
2024-12-20 17:44:56 +01:00
2024-10-15 11:29:45 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-07-11 11:41:34 +01:00
2024-12-19 19:36:37 +01:00
2024-10-15 11:29:45 +01:00
2024-12-31 21:21:27 +01:00
2020-08-21 06:18:24 -04:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-20 17:44:56 +01:00
2024-12-31 21:21:34 +01:00
2023-09-08 16:41:34 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:06 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:06 +01:00
2024-12-21 11:07:00 -05:00