Thread (7 messages) 7 messages, 3 authors, 2024-02-01

Re: [PATCH net-next v6 1/2] net: introduce abstraction for network memory

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-01-31 00:47:11
Also in: lkml

On Tue, 30 Jan 2024 10:59:53 +0100 Paolo Abeni wrote:
quoted
+ * netmem_ref - a nonexistent type marking a reference to generic network  
Minor nit: here you need to prepend 'struct' to avoid a kdoc warning:

include/net/netmem.h:20: warning: cannot understand function prototype: 'typedef unsigned long __bitwise netmem_ref; '

Should be:

* struct netmem_ref - a nonexistent type marking a reference to generic network
s/struct/typedef/

 /**
  * typedef netmem_ref - ....
  */

Somewhat surprisingly kdoc understands the typedef keyword just fine :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help