mirror of
https://github.com/torvalds/linux.git
synced 2025-08-15 14:11:42 +02:00
![]() Newer compiler versions rightfully point out:
kernel/kcsan/kcsan_test.c:591:41: error: variable 'dummy' is
uninitialized when passed as a const pointer argument here
[-Werror,-Wuninitialized-const-pointer]
591 | KCSAN_EXPECT_READ_BARRIER(atomic_read(&dummy), false);
| ^~~~~
1 error generated.
Although this particular test does not care about the value stored in
the dummy atomic variable, let's silence the warning.
Link: https://lkml.kernel.org/r/CA+G9fYu8JY=k-r0hnBRSkQQrFJ1Bz+ShdXNwC1TNeMt0eXaxeA@mail.gmail.com
Fixes:
|
||
---|---|---|
.. | ||
.kunitconfig | ||
core.c | ||
debugfs.c | ||
encoding.h | ||
kcsan.h | ||
kcsan_test.c | ||
Makefile | ||
permissive.h | ||
report.c | ||
selftest.c |