diff options
| author | Mohammad Shehar Yaar Tausif <[email protected]> | 2024-05-16 07:24:11 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-05-18 17:46:16 +0000 |
| commit | 6f130e4d4a5f7174f98300376f3994817ad7e21c (patch) | |
| tree | 3d557fc55d69779ddc771515c05f96a2c719ecb3 /tools/bpf/bpftool/common.c | |
| parent | kbuild, bpf: Use test-ge check for v1.25-only pahole (diff) | |
| download | kernel-6f130e4d4a5f7174f98300376f3994817ad7e21c.tar.gz kernel-6f130e4d4a5f7174f98300376f3994817ad7e21c.zip | |
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.
Signed-off-by: Mohammad Shehar Yaar Tausif <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/common.c')
0 files changed, 0 insertions, 0 deletions
