aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorMarco Elver <[email protected]>2025-07-22 18:19:17 +0000
committerMarco Elver <[email protected]>2025-07-23 06:51:32 +0000
commit9872916ad1a1a5e7d089e05166c85dbd65e5b0e8 (patch)
tree2f7ceca9d124ce0a2fb234e5a2b0b87dd413b451 /drivers/gpu/drm/lima/lima_sched.c
parentLinux 6.16-rc7 (diff)
downloadkernel-9872916ad1a1a5e7d089e05166c85dbd65e5b0e8.tar.gz
kernel-9872916ad1a1a5e7d089e05166c85dbd65e5b0e8.zip
kcsan: test: Initialize dummy variable
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: 8bc32b348178 ("kcsan: test: Add test cases for memory barrier instrumentation") Reported-by: Linux Kernel Functional Testing <[email protected]> Reviewed-by: Alexander Potapenko <[email protected]> Signed-off-by: Marco Elver <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions