diff options
author | Kui-Feng Lee <thinker.li@gmail.com> | 2023-08-03 17:51:01 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2023-08-04 14:38:31 -0700 |
commit | 8a60a041eada0fbfdc7b6b7a10fdf68ae6a840ce (patch) | |
tree | 95eb31f0a5ea85e6076da979113b8bf693ea7ce4 /kernel/bpf/helpers.c | |
parent | 9eab71bd887ae28882c29a82cb0cdb00e1654c54 (diff) | |
download | linux-8a60a041eada0fbfdc7b6b7a10fdf68ae6a840ce.tar.gz linux-8a60a041eada0fbfdc7b6b7a10fdf68ae6a840ce.tar.bz2 linux-8a60a041eada0fbfdc7b6b7a10fdf68ae6a840ce.zip |
bpf: fix inconsistent return types of bpf_xdp_copy_buf().
Fix inconsistent return types in two implementations of bpf_xdp_copy_buf().
There are two implementations: one is an empty implementation whose return
type does not match the actual implementation.
Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230804005101.1534505-1-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions