diff options
| author | Aditya Srivastava <[email protected]> | 2021-05-23 15:14:08 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-05-25 04:06:02 +0000 |
| commit | 4ce7d68beb9e63d0a0a427cc2b89ec0c68f24b3d (patch) | |
| tree | edcef7612c525181b03eb0da083c8b7d1506168e /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c | |
| parent | libbpf: Add support for new llvm bpf relocations (diff) | |
| download | kernel-4ce7d68beb9e63d0a0a427cc2b89ec0c68f24b3d.tar.gz kernel-4ce7d68beb9e63d0a0a427cc2b89ec0c68f24b3d.zip | |
samples: bpf: Ix kernel-doc syntax in file header
The opening comment mark '/**' is used for highlighting the beginning of
kernel-doc comments.
The header for samples/bpf/ibumad_kern.c follows this syntax, but
the content inside does not comply with kernel-doc.
This line was probably not meant for kernel-doc parsing, but is parsed
due to the presence of kernel-doc like comment syntax(i.e, '/**'), which
causes unexpected warnings from kernel-doc:
warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* ibumad BPF sample kernel side
Provide a simple fix by replacing this occurrence with general comment
format, i.e. '/*', to prevent kernel-doc from parsing it.
Signed-off-by: Aditya Srivastava <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions
