aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/netdev-user.h
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-06-08 21:11:53 +0000
committerJakub Kicinski <[email protected]>2023-06-09 21:40:31 +0000
commite4ea3cc68472b1cc0b68a1adf145ee39fb90a506 (patch)
tree71413c6e7b6bf461655ee500ef5d56487a5361a9 /tools/net/ynl/generated/netdev-user.h
parenttools: ynl-gen: combine else with closing bracket (diff)
downloadkernel-e4ea3cc68472b1cc0b68a1adf145ee39fb90a506.tar.gz
kernel-e4ea3cc68472b1cc0b68a1adf145ee39fb90a506.zip
tools: ynl-gen: get attr type outside of if()
Reading attr type with mnl_attr_get_type() for each condition leads to most conditions being longer than 80 chars. Avoid this by reading the type to a variable on the stack. Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.h')
0 files changed, 0 insertions, 0 deletions