diff options
| author | Yafang Shao <laoar.shao@gmail.com> | 2022-08-10 15:18:29 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-08-10 11:50:43 -0700 |
| commit | 73cf09a36bf7bfb3e5a3ff23755c36d49137c44d (patch) | |
| tree | f546110b5613a3f17a084eb00b9b242402986e85 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | bpf: Make __GFP_NOWARN consistent in bpf map creation (diff) | |
| download | linux-73cf09a36bf7bfb3e5a3ff23755c36d49137c44d.tar.gz linux-73cf09a36bf7bfb3e5a3ff23755c36d49137c44d.zip | |
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/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
