Commit 37844828 authored by Stanislav Fomichev's avatar Stanislav Fomichev Committed by Jakub Kicinski

ynl: mark max/mask as private for kdoc

Simon mentioned in another thread that it makes kdoc happy
and Jakub confirms that commit e27cb89a ("scripts: kernel-doc: support
private / public marking for enums") actually added the needed
support.
Signed-off-by: default avatarStanislav Fomichev <sdf@google.com>
Reviewed-by: default avatarJakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230727163001.3952878-3-sdf@google.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e5c157f0
......@@ -2125,6 +2125,7 @@ def render_uapi(family, cw):
if const.get('render-max', False):
cw.nl()
cw.p('/* private: */')
if const['type'] == 'flags':
max_name = c_upper(name_pfx + 'mask')
max_val = f' = {enum.get_mask()},'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment