mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
f4abe9967c
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:
|
||
---|---|---|
.. | ||
atomic.h | ||
core.c | ||
debugfs.c | ||
encoding.h | ||
kcsan_test.c | ||
kcsan.h | ||
Makefile | ||
report.c | ||
selftest.c |