[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180912210827.GB9737@eros>
Date: Thu, 13 Sep 2018 07:08:27 +1000
From: "Tobin C. Harding" <me@...in.cc>
To: Johan Hovold <johan@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH 2/3] tty_port: Fix function name and brief desc
On Wed, Sep 12, 2018 at 11:31:16AM +0200, Johan Hovold wrote:
> On Wed, Sep 12, 2018 at 05:50:43PM +1000, Tobin C. Harding wrote:
> > File contains kernel-doc function comments that are not in the correct
> > style.
> >
> > - Add '()' to function names
> > - Capitalise brief description and append a full stop.
>
> Cleaning up these comments may not be a bad idea, but I have my doubts
> about this particular item. Many descriptions aren't full sentences and
> still won't be even if you capitalise and slap a full stop there, for
> example:
>
> > - * tty_port_hangup - hangup helper
> > + * tty_port_hangup() - Hangup helper.
>
> There's no requirement to use full sentences, and the old kernel-doc
> nano doc uses incomplete ones, as do most (?) kernel-doc comments
> throughout the kernel.
>
> I'd just drop this part of the patch.
Ok, sounds good to me. Thanks for the review.
Tobin
Powered by blists - more mailing lists