projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2786bcf
)
bpf: Replace __ksize with ksize.
author
Alexei Starovoitov
<ast@kernel.org>
Wed, 7 Sep 2022 02:38:53 +0000
(19:38 -0700)
committer
Alexei Starovoitov
<ast@kernel.org>
Wed, 7 Sep 2022 02:38:53 +0000
(19:38 -0700)
__ksize() was made private. Use ksize() instead.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/memalloc.c
patch
|
blob
|
history
diff --git
a/kernel/bpf/memalloc.c
b/kernel/bpf/memalloc.c
index 5cc952da7d418a252cf25fbeee327af393149646..20621f5407d82088088192431a7c7dc293eca366 100644
(file)
--- a/
kernel/bpf/memalloc.c
+++ b/
kernel/bpf/memalloc.c
@@
-610,7
+610,7
@@
void notrace bpf_mem_free(struct bpf_mem_alloc *ma, void *ptr)
if (!ptr)
return;
- idx = bpf_mem_cache_idx(
__
ksize(ptr - LLIST_NODE_SZ));
+ idx = bpf_mem_cache_idx(ksize(ptr - LLIST_NODE_SZ));
if (idx < 0)
return;