From: Alexei Starovoitov Date: Wed, 7 Sep 2022 02:38:53 +0000 (-0700) Subject: bpf: Replace __ksize with ksize. X-Git-Tag: v6.1-rc1~170^2~10^2~70 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1e660f7ebe0ff6ac65ee0000280392d878630a67;p=users%2Fdwmw2%2Flinux.git bpf: Replace __ksize with ksize. __ksize() was made private. Use ksize() instead. Reported-by: Stephen Rothwell Signed-off-by: Alexei Starovoitov --- diff --git a/kernel/bpf/memalloc.c b/kernel/bpf/memalloc.c index 5cc952da7d418..20621f5407d82 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;