projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a767287
)
tools: ynl-gen: add missing empty line between policies
author
Jakub Kicinski
<kuba@kernel.org>
Tue, 8 Aug 2023 20:09:07 +0000
(13:09 -0700)
committer
Jakub 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
patch
|
blob
|
history
diff --git
a/tools/net/ynl/ynl-gen-c.py
b/tools/net/ynl/ynl-gen-c.py
index
6b9d938
..
5f39d24
100755
(executable)
--- a/
tools/net/ynl/ynl-gen-c.py
+++ b/
tools/net/ynl/ynl-gen-c.py
@@
-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):