]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools: ynl-gen-c: don't require -o argument
authorJohannes Berg <johannes.berg@intel.com>
Fri, 6 Dec 2024 10:30:57 +0000 (11:30 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 8 Dec 2024 01:27:59 +0000 (17:27 -0800)
commit81d89e6e88d5d592c1792940753d69d9753b3a8a
tree73b5d8757fde093dd9a511993f2c26e4108a3016
parent00ab246750821b226f14ebc94ad21431dc82820b
tools: ynl-gen-c: don't require -o argument

Without -o the tool currently crashes, but it's not marked
as required. The only thing we can't do without it is to
generate the correct #include for user source files, but
we can put a placeholder instead.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20241206113100.89d35bf124d6.I9228fb704e6d5c9d8e046ef15025a47a48439c1e@changeid
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/ynl-gen-c.py