Thread (13 messages) 13 messages, 6 authors, 2025-02-04

Re: [PATCH net] docs: netdev: Document guidance on inline functions

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-02-04 13:25:18
Also in: linux-doc, workflows

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help