diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-06-08 14:11:53 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-09 14:40:31 -0700 |
commit | e4ea3cc68472b1cc0b68a1adf145ee39fb90a506 (patch) | |
tree | 71413c6e7b6bf461655ee500ef5d56487a5361a9 /tools/net/ynl/generated/handshake-user.c | |
parent | 2c0f1466867c8405224b97d978b67f35d76b1dc1 (diff) |
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