Commit 1e660f7e authored by Alexei Starovoitov's avatar Alexei Starovoitov
Browse files

bpf: Replace __ksize with ksize.



__ksize() was made private. Use ksize() instead.

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 2786bcff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;