[PATCH v2] rsi: fix comment syntax in file headers

Kalle Valo kvalo at codeaurora.org
Sun Apr 18 06:28:07 UTC 2021

Aditya Srivastava <yashsri421 at gmail.com> wrote:

> The opening comment mark '/**' is used for highlighting the beginning of
> kernel-doc comments.
> There are some files in drivers/net/wireless/rsi which follow this syntax
> in their file headers, i.e. start with '/**' like comments, which causes
> unexpected warnings from kernel-doc.
> E.g., running scripts/kernel-doc -none on drivers/net/wireless/rsi/rsi_coex.h
> causes this warning:
> "warning: wrong kernel-doc identifier on line:
>  * Copyright (c) 2018 Redpine Signals Inc."
> 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.
> Signed-off-by: Aditya Srivastava <yashsri421 at gmail.com>
> Reviewed-by: Randy Dunlap <rdunlap at infradead.org>

Patch applied to wireless-drivers-next.git, thanks.

3051946056c3 rsi: fix comment syntax in file headers



More information about the Linux-kernel-mentees mailing list