diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2022-08-10 18:18:29 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-08-10 21:50:43 +0300 |
commit | 73cf09a36bf7bfb3e5a3ff23755c36d49137c44d (patch) | |
tree | f546110b5613a3f17a084eb00b9b242402986e85 /tools/lib | |
parent | 992c9e13f5939437037627c67bcb51e674b64265 (diff) | |
download | linux-73cf09a36bf7bfb3e5a3ff23755c36d49137c44d.tar.xz |
bpf: Use bpf_map_area_alloc consistently on bpf map creation
Let's use the generic helper bpf_map_area_alloc() instead of the
open-coded kzalloc helpers in bpf maps creation path.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Link: https://lore.kernel.org/r/20220810151840.16394-5-laoar.shao@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions