[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <de8d372b-0f2e-4c42-9d6b-8aecbb4645ef@lunn.ch>
Date: Tue, 4 Feb 2025 14:25:07 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Simon Horman <horms@...nel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Jonathan Corbet <corbet@....net>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Alexandre Ferrieux <alexandre.ferrieux@...il.com>,
netdev@...r.kernel.org, workflows@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH net] docs: netdev: Document guidance on inline functions
> Thanks, perhaps something like this would help:
>
> Using inline in .h files is fine and is encouraged in place of macros
> [reference section 12].
The other major use of them in headers is for stub functions when an
API implementation has a Kconfig option. The question is, do we really
want to start creating such a list, and have people wanting to add to
it?
Andrew
Powered by blists - more mailing lists