tools: ynl-gen: add missing empty line between policies
authorJakub Kicinski <kuba@kernel.org>
Tue, 8 Aug 2023 20:09:07 +0000 (13:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Aug 2023 20:13:20 +0000 (13:13 -0700)
We're missing empty line between policies.
DPLL will need this.

Tested-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://lore.kernel.org/r/20230808200907.1290647-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/ynl-gen-c.py

index 6b9d938..5f39d24 100755 (executable)
@@ -1871,6 +1871,7 @@ def print_req_policy(cw, struct, ri=None):
     for _, arg in struct.member_list():
         arg.attr_policy(cw)
     cw.p("};")
+    cw.nl()
 
 
 def kernel_can_gen_family_struct(family):