Heiko Carstens
09b1b13461
kcsan: use u64 instead of cycles_t
...
cycles_t has a different type across architectures: unsigned int,
unsinged long, or unsigned long long. Depending on architecture this
will generate this warning:
kernel/kcsan/debugfs.c: In function ‘microbenchmark’:
./include/linux/kern_levels.h:5:25: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘cycles_t’ {aka ‘long unsigned int’} [-Wformat=]
To avoid this simply change the type of cycle to u64 in microbenchmark(),
since u64 is of type unsigned long long for all architectures.
Acked-by: Marco Elver <elver@google.com >
Link: https://lore.kernel.org/r/20210729142811.1309391-1-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com >
2021-07-30 17:09:02 +02:00
..
2021-07-13 08:19:13 -07:00
2021-07-14 09:19:06 -07:00
2021-05-07 00:26:34 -07:00
2021-07-12 11:03:35 -05:00
2021-07-16 11:30:26 +02:00
2021-05-31 10:14:49 +02:00
2021-06-29 17:29:11 -07:00
2021-06-22 11:07:18 -07:00
2021-07-09 15:35:13 +02:00
2021-07-30 17:09:02 +02:00
2021-04-27 18:14:38 -07:00
2021-07-11 11:06:09 -07:00
2021-07-08 11:48:21 -07:00
2021-06-29 12:07:18 -07:00
2021-07-06 15:53:12 -07:00
2021-07-11 11:13:57 -07:00
2021-07-15 01:23:54 +02:00
2021-07-23 08:46:02 -04:00
2021-05-02 00:43:35 +09:00
2021-05-07 00:26:33 -07:00
2021-06-08 22:18:35 -04:00
2021-03-22 15:23:32 -04:00
2021-06-10 20:59:05 -04:00
2021-03-22 15:23:32 -04:00
2021-06-10 20:59:05 -04:00
2021-04-08 16:04:20 -07:00
2021-06-29 12:23:02 -07:00
2021-07-08 11:48:22 -07:00
2021-06-28 20:39:26 -07:00
2021-05-12 11:43:25 +02:00
2021-06-28 20:39:26 -07:00
2021-06-29 17:29:11 -07:00
2021-06-18 11:43:08 +02:00
2021-06-28 11:45:29 -07:00
2021-05-27 04:01:50 +09:00
2021-02-26 09:41:03 -08:00
2021-07-02 12:08:10 -07:00
2021-06-10 10:00:08 +02:00
2021-07-05 10:46:20 +02:00
2021-07-08 11:48:22 -07:00
2021-06-28 22:43:05 +02:00
2021-07-01 11:06:04 -07:00
2021-05-07 00:26:32 -07:00
2021-05-07 00:26:33 -07:00
2021-07-11 11:06:09 -07:00
2021-06-29 17:29:11 -07:00
2021-05-02 00:43:35 +09:00
2021-07-08 11:48:22 -07:00
2021-07-01 11:06:04 -07:00
2021-04-10 13:35:54 +02:00
2021-06-18 11:43:09 +02:00
2021-06-21 13:08:36 +01:00
2021-05-14 19:41:32 -07:00
2021-04-14 18:04:09 +02:00
2021-07-06 12:37:55 -07:00
2021-06-28 12:49:52 -07:00
2021-07-08 11:43:24 -07:00
2021-05-06 15:33:49 +02:00
2021-07-25 11:06:37 -07:00
2021-06-18 11:43:07 +02:00
2021-07-05 10:46:33 +02:00
2021-03-23 16:01:58 +01:00
2021-07-08 11:48:21 -07:00
2021-06-28 20:39:26 -07:00
2021-06-23 16:41:24 -06:00
2021-07-02 12:08:10 -07:00
2021-04-30 11:20:42 -07:00
2021-03-08 14:22:28 -08:00
2021-07-23 08:46:22 -04:00
2021-06-28 20:39:26 -07:00
2021-05-07 00:26:34 -07:00
2021-05-09 13:07:03 -07:00
2021-06-28 20:39:26 -07:00
2021-04-30 14:14:02 -05:00
2021-07-03 11:41:14 -07:00
2021-06-29 10:53:46 -07:00
2021-05-20 12:58:30 -04:00