Arnd Bergmann
8e91c23423
dm integrity: fix out-of-range warning
...
Depending on the value of CONFIG_HZ, clang complains about a pointless
comparison:
drivers/md/dm-integrity.c:4085:12: error: result of comparison of
constant 42949672950 with expression of type
'unsigned int' is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
if (val >= (uint64_t)UINT_MAX * 1000 / HZ) {
As the check remains useful for other configurations, shut up the
warning by adding a second type cast to uint64_t.
Fixes: 468dfca38b1a ("dm integrity: add a bitmap mode")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Justin Stitt <justinstitt@google.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
2024-03-29 09:48:07 -04:00
..
2024-03-14 18:03:09 -07:00
2024-03-29 09:45:54 -04:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05:00
2023-03-30 15:57:51 -04:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-11-02 19:38:47 -10:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-06-12 08:04:05 -06:00
2023-06-12 08:04:05 -06:00
2024-01-30 14:05:02 -05:00
2024-03-02 10:30:36 -05:00
2023-11-17 14:41:14 -05:00
2024-02-20 14:22:55 -05:00
2024-02-20 14:22:55 -05:00
2023-06-12 08:04:05 -06:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-06-05 10:57:40 -06:00
2024-03-29 09:48:07 -04:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:51 -05:00
2024-02-20 14:22:55 -05:00
2024-02-20 14:22:51 -05:00
2023-10-06 19:09:25 -04:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-04-11 12:09:08 -04:00
2024-02-20 14:22:55 -05:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:51 -05:00
2024-03-13 09:38:10 -07:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:51 -05:00
2023-02-14 14:23:07 -05:00
2024-03-20 14:31:24 -04:00
2024-01-30 14:06:44 -05:00
2023-03-16 13:37:06 -04:00
2023-11-01 12:55:54 -10:00
2023-04-11 12:09:08 -04:00
2023-02-14 14:23:08 -05:00
2024-03-11 17:11:28 -07:00
2023-10-31 11:06:21 -04:00
2023-06-30 12:16:00 -07:00
2023-02-14 14:23:06 -05:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-04-11 12:09:08 -04:00
2024-02-20 14:22:55 -05:00
2023-02-14 14:23:06 -05:00
2023-06-28 10:43:04 -07:00
2024-03-13 09:46:51 -07:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2024-03-02 10:30:36 -05:00
2024-02-20 14:22:55 -05:00
2023-04-11 12:09:08 -04:00
2023-06-16 18:24:13 -04:00
2024-02-12 08:41:16 -07:00
2023-12-19 20:17:43 -07:00
2024-03-14 17:43:30 -07:00
2023-10-06 19:09:25 -04:00
2024-03-21 14:41:00 -07:00
2024-02-20 13:43:17 -05:00
2023-12-19 10:16:51 -08:00
2024-03-06 08:59:52 -08:00
2023-07-27 00:13:29 -07:00
2023-10-12 09:16:19 -07:00
2024-03-11 11:43:44 -07:00
2024-03-11 11:43:44 -07:00
2024-03-06 08:59:53 -08:00
2023-06-30 15:43:50 -07:00
2024-02-29 22:49:46 -08:00
2024-03-06 08:59:53 -08:00
2024-02-29 22:49:45 -08:00
2023-11-27 15:49:05 -08:00
2024-03-06 08:59:53 -08:00
2024-03-11 11:43:44 -07:00
2023-11-27 15:49:05 -08:00
2024-03-11 11:43:44 -07:00
2023-07-27 00:13:29 -07:00