diff options
author | Aditya Srivastava <[email protected]> | 2021-05-22 17:22:27 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-24 15:27:03 +0200 |
commit | 1eef7953129c3c1d0ebe5f668f781157acb3fb84 (patch) | |
tree | e3cb30bf2f10ec2bbc9a0a130da7a6ee723074f7 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 5cc59c418fde9d02859996707b9d5dfd2941c50b (diff) |
USB: gadget: udc: fix kernel-doc syntax in file headers
The opening comment mark '/**' is used for highlighting the beginning of
kernel-doc comments.
The header for drivers/usb/gadget/udc/trace files 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 warning from kernel-doc.
For e.g., running scripts/kernel-doc -none drivers/usb/gadget/udc/trace.h
emits:
warning: expecting prototype for udc.c(). Prototype was for TRACE_SYSTEM() instead
Provide a simple fix by replacing this occurrence with general comment
format, i.e. '/*', to prevent kernel-doc from parsing it.
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Aditya Srivastava <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions