diff options
author | Arnd Bergmann <[email protected]> | 2021-04-21 15:50:38 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-04-22 14:36:03 +0200 |
commit | f4abe9967c6fdb511ee567e129a014b60945ab93 (patch) | |
tree | e0693e15d4bd394b75e30ccea58f28a824ca77fb /scripts/gdb | |
parent | c9450f728cfba0613163ed85f8c26eeeeed9def2 (diff) |
kcsan: Fix printk format string
Printing a 'long' variable using the '%d' format string is wrong
and causes a warning from gcc:
kernel/kcsan/kcsan_test.c: In function 'nthreads_gen_params':
include/linux/kern_levels.h:5:25: error: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Werror=format=]
Use the appropriate format modifier.
Fixes: f6a149140321 ("kcsan: Switch to KUNIT_CASE_PARAM for parameterized tests")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions