diff options
author | Hongbo Li <lihongbo22@huawei.com> | 2024-08-28 09:21:28 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-08-29 22:25:38 +0300 |
commit | c6d9dafb595564ae44ef2e25e3ace2973aa867f3 (patch) | |
tree | 1305a7b888249ab5d1038989bff1d2f9c086bade /include/linux/bpf_verifier.h | |
parent | 89dd9bb25597621ca0500aa598140ff0858091e2 (diff) | |
download | linux-c6d9dafb595564ae44ef2e25e3ace2973aa867f3.tar.xz |
bpf: Use kvmemdup to simplify the code
Use kvmemdup instead of kvmalloc() + memcpy() to simplify the
code.
No functional change intended.
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240828062128.1223417-1-lihongbo22@huawei.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/bpf_verifier.h')
0 files changed, 0 insertions, 0 deletions