summaryrefslogtreecommitdiff
path: root/tools/net/ynl/generated/handshake-user.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-06-09 00:11:53 +0300
committerJakub Kicinski <kuba@kernel.org>2023-06-10 00:40:31 +0300
commite4ea3cc68472b1cc0b68a1adf145ee39fb90a506 (patch)
tree71413c6e7b6bf461655ee500ef5d56487a5361a9 /tools/net/ynl/generated/handshake-user.c
parent2c0f1466867c8405224b97d978b67f35d76b1dc1 (diff)
downloadlinux-e4ea3cc68472b1cc0b68a1adf145ee39fb90a506.tar.xz
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 <kuba@kernel.org>
Diffstat (limited to 'tools/net/ynl/generated/handshake-user.c')
0 files changed, 0 insertions, 0 deletions