aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/netdev-user.c
diff options
context:
space:
mode:
authorJeremy Sowden <[email protected]>2023-06-20 18:11:00 +0000
committerFlorian Westphal <[email protected]>2023-07-27 11:45:51 +0000
commit86e9c9aa2358a74bcc5e63f9fc69c2d01e64c002 (patch)
tree1075a5362df8f36eb7c4bd8b27ca4dd5757e7f0d /tools/net/ynl/generated/netdev-user.c
parentnetfilter: conntrack: validate cta_ip via parsing (diff)
downloadkernel-86e9c9aa2358a74bcc5e63f9fc69c2d01e64c002.tar.gz
kernel-86e9c9aa2358a74bcc5e63f9fc69c2d01e64c002.zip
lib/ts_bm: add helper to reduce indentation and improve readability
The flow-control of `bm_find` is very deeply nested with a conditional comparing a ternary expression against the pattern inside a for-loop inside a while-loop inside a for-loop. Move the inner for-loop into a helper function to reduce the amount of indentation and make the code easier to read. Fix indentation and trailing white-space in preceding debug logging statement. Signed-off-by: Jeremy Sowden <[email protected]> Signed-off-by: Florian Westphal <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions