[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2970b6b6-1450-8eec-a9e9-45629af9417f@gmail.com>
Date: Sat, 22 May 2021 16:56:19 +0530
From: Aditya Srivastava <yashsri421@...il.com>
To: Rémi Denis-Courmont <remi@...lab.net>
Cc: courmisch@...il.com, lukas.bulwahn@...il.com,
rdunlap@...radead.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Phonet: fix kernel-doc syntax in file headers
On 22/5/21 2:57 pm, Rémi Denis-Courmont wrote:
> Le jeudi 20 mai 2021, 21:21:59 EEST Aditya Srivastava a écrit :
>> The opening comment mark '/**' is used for highlighting the beginning of
>> kernel-doc comments.
>> The header for include/*/linux/phonet.h 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 include/linux/phonet.h emits:
>> warning: This comment starts with '/**', but isn't a kernel-doc comment.
>> Refer Documentation/doc-guide/kernel-doc.rst * file phonet.h
>>
>> 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 <yashsri421@...il.com>
>
> You could just as well remove the stray "file XX" lines but OK.
>
> Acked-by: Rémi Denis-Courmont <courmisch@...il.com.>
>
Hi Remi and Randy
Thanks for reviewing :)
I'll be sending a v2 with removed filenames
Thanks
Aditya
Powered by blists - more mailing lists