diff options
| author | David Vernet <[email protected]> | 2023-03-01 19:49:09 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-03-02 00:00:10 +0000 |
| commit | 7ce60b110eece1d7b3d5c322fd11f6d41a29d17b (patch) | |
| tree | 29ed958adf02618707c58a3632cdc2107931aa4b /tools/lib/bpf/zip.h | |
| parent | Merge branch 'selftests/bpf: support custom per-test flags and multiple expec... (diff) | |
| download | kernel-7ce60b110eece1d7b3d5c322fd11f6d41a29d17b.tar.gz kernel-7ce60b110eece1d7b3d5c322fd11f6d41a29d17b.zip | |
bpf: Fix doxygen comments for dynptr slice kfuncs
In commit 66e3a13e7c2c ("bpf: Add bpf_dynptr_slice and
bpf_dynptr_slice_rdwr"), the bpf_dynptr_slice() and
bpf_dynptr_slice_rdwr() kfuncs were added to BPF. These kfuncs included
doxygen headers, but unfortunately those headers are not properly
formatted according to [0], and causes the following warnings during the
docs build:
./kernel/bpf/helpers.c:2225: warning: \
Excess function parameter 'returns' description in 'bpf_dynptr_slice'
./kernel/bpf/helpers.c:2303: warning: \
Excess function parameter 'returns' description in 'bpf_dynptr_slice_rdwr'
...
This patch fixes those doxygen comments.
[0]: https://docs.kernel.org/doc-guide/kernel-doc.html#function-documentation
Fixes: 66e3a13e7c2c ("bpf: Add bpf_dynptr_slice and bpf_dynptr_slice_rdwr")
Signed-off-by: David Vernet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/zip.h')
0 files changed, 0 insertions, 0 deletions
