diff options
author | Aditya Srivastava <[email protected]> | 2021-03-29 19:21:08 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-02 15:20:51 +0200 |
commit | 27088e00b623a9581bcd4e443a6f9380524edfce (patch) | |
tree | 2591098659036a0d9788948540ca9f3168727866 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | c9714d65eac862071749ea964585ae933872c721 (diff) |
usb: dwc3: fix incorrect kernel-doc comment syntax in files
The opening comment mark '/**' is used for highlighting the beginning of
kernel-doc comments.
There are certain files in drivers/usb/dwc3, which follow this syntax,
but the content inside does not comply with kernel-doc.
Such lines were probably not meant for kernel-doc parsing, but are parsed
due to the presence of kernel-doc like comment syntax(i.e, '/**'), which
causes unexpected warnings from kernel-doc.
E.g., presence of kernel-doc like comment in drivers/usb/dwc3/io.h at
header causes this warnings by kernel-doc:
"warning: expecting prototype for h(). Prototype was for __DRIVERS_USB_DWC3_IO_H() instead"
Similarly for other files too.
Provide a simple fix by replacing such occurrences 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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions