From: Randy Dunlap <rdunlap@infradead.org>
To: Greg KH <gregkh@linuxfoundation.org>, Min Li <min.li.xe@renesas.com>
Cc: "derek.kiernan@xilinx.com" <derek.kiernan@xilinx.com>,
"dragan.cvetic@xilinx.com" <dragan.cvetic@xilinx.com>,
"arnd@arndb.de" <arnd@arndb.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH misc] misc: Add Renesas Synchronization Management Unit (SMU) support
Date: Tue, 14 Sep 2021 22:54:29 -0700 [thread overview]
Message-ID: <b78ebf7b-ea01-757b-39c4-0dc36e126af0@infradead.org> (raw)
In-Reply-To: <YUGG8iPWMLx5vJ1f@kroah.com>
On 9/14/21 10:38 PM, Greg KH wrote:
> On Tue, Sep 14, 2021 at 08:43:44PM +0000, Min Li wrote:
>> Hi Greg
>>
>> Thanks for the review
>>
>>>> drivers/misc/Kconfig | 9 ++
>>>> drivers/misc/Makefile | 2 +
>>>> drivers/misc/rsmu_cdev.c | 239
>>>> ++++++++++++++++++++++++++++++++++++++++++++++
>>>> drivers/misc/rsmu_cdev.h | 77 +++++++++++++++
>>>> drivers/misc/rsmu_cm.c | 164 +++++++++++++++++++++++++++++++
>>>> drivers/misc/rsmu_sabre.c | 133 ++++++++++++++++++++++++++
>>>
>>> If you make this all one .c file, the .h file can go away and it will be much
>>> simpler in the end. And will get rid of the global symbols.
>>>
>>
>
>>>> +
>>>> +/**
>>>> + * @Description
>>>
>>> What is this format? It is not kernel-doc :(
>>>
>>>> + * ioctl to set SMU combo mode.Combo mode provides physical layer
>>>> + frequency
>>>> + * support from the Ethernet Equipment Clock to the PTP clock
>>>> + *
>>>> + * @Parameters
>>>
>>> Same here and elsewhere in this file.
>>
>> I was copying the format from xilinx_sdfec.h
>>
>> Is there a place that tells me how to properly document ioctl or can you give me an code example?
>
> The kerneldoc format should be described in Documentation/ somewhere...
See Documentation/doc-guide/kernel-doc.rst.
--
~Randy
next prev parent reply other threads:[~2021-09-15 5:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-02 18:45 min.li.xe
2021-09-14 9:06 ` Greg KH
2021-09-14 20:43 ` Min Li
2021-09-15 5:38 ` Greg KH
2021-09-15 5:54 ` Randy Dunlap [this message]
2021-09-15 14:42 ` Min Li
2021-09-15 14:46 ` Greg KH
2021-09-15 15:00 ` Min Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b78ebf7b-ea01-757b-39c4-0dc36e126af0@infradead.org \
--to=rdunlap@infradead.org \
--cc=arnd@arndb.de \
--cc=derek.kiernan@xilinx.com \
--cc=dragan.cvetic@xilinx.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=min.li.xe@renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®