[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230725233517.2614868-3-sdf@google.com>
Date: Tue, 25 Jul 2023 16:35:15 -0700
From: Stanislav Fomichev <sdf@...gle.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, Stanislav Fomichev <sdf@...gle.com>
Subject: [PATCH net-next 2/4] ynl: mark max/mask as private for kdoc
Simon mentioned in another thread that it makes kdoc happy
and Jakub confirms that commit e27cb89a22ad ("scripts: kernel-doc: support
private / public marking for enums") actually added the needed
support.
Signed-off-by: Stanislav Fomichev <sdf@...gle.com>
---
tools/net/ynl/ynl-gen-c.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/net/ynl/ynl-gen-c.py b/tools/net/ynl/ynl-gen-c.py
index 71c5e79e877f..0112722fcc37 100755
--- a/tools/net/ynl/ynl-gen-c.py
+++ b/tools/net/ynl/ynl-gen-c.py
@@ -2124,6 +2124,8 @@ _C_KW = {
cw.p(entry.c_name + suffix)
if const.get('render-max', False):
+ cw.nl()
+ cw.p('/* private: */')
cw.nl()
if const['type'] == 'flags':
max_name = c_upper(name_pfx + 'mask')
--
2.41.0.487.g6d72f3e995-goog
Powered by blists - more mailing lists