diff options
author | Alexei Starovoitov <ast@kernel.org> | 2022-09-06 19:38:53 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-09-06 19:38:53 -0700 |
commit | 1e660f7ebe0ff6ac65ee0000280392d878630a67 (patch) | |
tree | 1df82e0ea1b6d2474e0043d1b9f364c1ffcf5267 /kernel | |
parent | 2786bcff28bd88955fc61adf9cb7370fbc182bad (diff) |
bpf: Replace __ksize with ksize.
__ksize() was made private. Use ksize() instead.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/bpf/memalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/memalloc.c b/kernel/bpf/memalloc.c index 5cc952da7d41..20621f5407d8 100644 --- 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; |