mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 23:20:32 -04:00
Merge tag 'kcsan-20250728-v6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/melver/linux
Pull Kernel Concurrency Sanitizer (KCSAN) update from Marco Elver: - A single fix to silence an uninitialized variable warning * tag 'kcsan-20250728-v6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/melver/linux: kcsan: test: Initialize dummy variable
This commit is contained in:
@@ -533,7 +533,7 @@ static void test_barrier_nothreads(struct kunit *test)
|
||||
struct kcsan_scoped_access *reorder_access = NULL;
|
||||
#endif
|
||||
arch_spinlock_t arch_spinlock = __ARCH_SPIN_LOCK_UNLOCKED;
|
||||
atomic_t dummy;
|
||||
atomic_t dummy = ATOMIC_INIT(0);
|
||||
|
||||
KCSAN_TEST_REQUIRES(test, reorder_access != NULL);
|
||||
KCSAN_TEST_REQUIRES(test, IS_ENABLED(CONFIG_SMP));
|
||||
|
||||
Reference in New Issue
Block a user