Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: fix order of args in call to bpf_map_kvcalloc
The original function call passed size of smap->bucket before the number of buckets which raises the error 'calloc-transposed-args' on compilation. Fixes: 62827d6 ("bpf: Remove __bpf_local_storage_map_alloc") Reviewed-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Mohammad Shehar Yaar Tausif <sheharyaar48@gmail.com>
- Loading branch information