summaryrefslogtreecommitdiff
path: root/kernel/time/time.c
diff options
context:
space:
mode:
authorAnton Protopopov <aspsk@isovalent.com>2023-07-19 09:29:51 +0000
committerAlexei Starovoitov <ast@kernel.org>2023-07-19 09:48:52 -0700
commit9c29804961c1bbf5c879a1879fe5fcac6364736f (patch)
tree5ce13b8e01775fcd73924dbb3d35ee81c6a98264 /kernel/time/time.c
parent5ba190c29cf92f157bd63c9909c7050d6dc43df7 (diff)
bpf: make an argument const in the bpf_map_sum_elem_count kfunc
We use the map pointer only to read the counter values, no locking involved, so mark the argument as const. Signed-off-by: Anton Protopopov <aspsk@isovalent.com> Link: https://lore.kernel.org/r/20230719092952.41202-4-aspsk@isovalent.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/time/time.c')
0 files changed, 0 insertions, 0 deletions