aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2021-11-05 13:47:07 -0700
committerLinus Torvalds <[email protected]>2021-11-06 13:30:45 -0700
commit199b50f4c9485c46c2403d8b3e0eca90ec401ed6 (patch)
treec1603a96f7f29c8569f5fbfc2a5f83608680ab99 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentc638072107f52ec35f292c97b6f3df9b9f2ed87d (diff)
mm/damon/vaddr: constify static mm_walk_ops
The only usage of these structs is to pass their addresses to walk_page_range(), which takes a pointer to const mm_walk_ops as argument. Make them const to allow the compiler to put them in read-only memory. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Rikard Falkeborn <[email protected]> Reviewed-by: SeongJae Park <[email protected]> Reviewed-by: Anshuman Khandual <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions