]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tools: ynl: support kdocs for flags in code generation
authorJakub Kicinski <kuba@kernel.org>
Thu, 26 Jan 2023 00:02:33 +0000 (16:02 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Jan 2023 00:32:41 +0000 (16:32 -0800)
commit66fa34b9c2a51baa2b8b6e529eddfe80c298f21a
treec4e3db82e79f4fc7894b0088d9362abdd002eeb5
parent868c82f34cab6d3ac9e25e355a1c3c5fcb84ec2b
tools: ynl: support kdocs for flags in code generation

Lorenzo reports that after switching from enum to flags netdev
family lost ability to render kdoc (and the enum contents got
generally garbled).

Combine the flags and enum handling in uAPI handling.

Reported-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/ynl-gen-c.py