aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2024-10-09 10:55:13 -0700
committerVineet Gupta <[email protected]>2024-12-10 10:12:56 -0800
commit1e8af9f04346ecc0bccf0c53b728fc8eb3490a28 (patch)
treea78f75503963baf60a64f0c7aaa1809027a7e8d0 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentdd2b2302efffab751d1c2d9a436365db0ee55a42 (diff)
ARC: build: Use __force to suppress per-CPU cmpxchg warnings
Currently, the cast of the first argument to cmpxchg_emu_u8() drops the __percpu address-space designator, which results in sparse complaints when applying cmpxchg() to per-CPU variables in ARC. Therefore, use __force to suppress these complaints, given that this does not pertain to cmpxchg() semantics, which are plently well-defined on variables in general, whether per-CPU or otherwise. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Paul E. McKenney <[email protected]> Cc: <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions