[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190423182450.27b403d3@cakuba.netronome.com>
Date: Tue, 23 Apr 2019 18:24:50 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Tao Ren <taoren@...com>
Cc: "David S . Miller" <davem@...emloft.net>,
Maxim Mikityanskiy <maximmi@...lanox.com>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Samuel Mendoza-Jonas" <sam@...dozajonas.com>,
Joel Stanley <joel@....id.au>,
"Andrew Jeffery" <andrew@...id.au>,
"openbmc@...ts.ozlabs.org" <openbmc@...ts.ozlabs.org>
Subject: Re: [PATCH net 1/2] net: add eth_addr_inc in etherdevice.h
On Wed, 24 Apr 2019 00:59:52 +0000, Tao Ren wrote:
> > Please see: Documentation/doc-guide/kernel-doc.rst
> >
> > Here we need:
> > - "()" after function name;
> > - no extra line between function name and argument description.
>
> Thank you for pointing it out (I didn't know the doc-guide). Given I copied the function comment from eth_addr_dec(), I will also fix the format for eth_addr_eth() then.
>
> BTW, "()" is missing from all the other functions' comment in etherdevice.h, so maybe we should fix that in a separate patch?
Possibly, I'm just trying to make sure the new stuff we add follows the
official guidelines :) For the old stuff we need to way it with
potential merge conflicts and muddied git history so the case is not as
clear cut.
Powered by blists - more mailing lists