Thread (13 messages) flat view 13 messages, 2 authors, 9d ago

Re: [PATCH net-next 4/4] tools: ynl: fix uapi generation for anonymous enums with documented entries

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-09-11 02:27:57
Also in: lkml

On Tue, 08 Sep 2026 19:45:10 -0400 Taylor Bates wrote:
However, this check still passes for anonymous enums since
enum.has_doc() still evaluates as true, so they still take the kdoc
code path.

As a result, this path attempts to hang the entry docs off of
enum.enum_name (which is of type None), raising a TypeError.
Both the ovs_datapath.yaml and ovs_flow.yaml specs will fail to
generate uapi headers in today's tree:
The generator only supports what's needed for in-tree families.
Any changes have to be reviewed in the same series as the specs
that need them.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help