tools: ynl-gen: loosen type consistency check for events
authorJakub Kicinski <kuba@kernel.org>
Fri, 2 Jun 2023 02:35:42 +0000 (19:35 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 3 Jun 2023 05:10:47 +0000 (22:10 -0700)
commit5605f102378f59f4e87f33685bb273602622c643
tree9a65fe40dbf0c1fcfe3dccb230e77e4ac7314829
parent67c65ce762adaf3515fe058538c0a7065dc9f2b4
tools: ynl-gen: loosen type consistency check for events

Both event and notify types are always consistent. Rewrite
the condition checking if we can reuse reply types to be
less picky and let notify thru.

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