Convert a number of use-cases to parse_on_off(), print_on_off()
Status from this message: applied to iproute2-next. Thanks, Petr.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | bridge: link: Port over to parse_on_off()bridge/ | +37 | 0 replies | |
| 2/7 | bridge: link: Convert to use print_on_off()bridge/ | +24 | 0 replies | |
| 3/7 | ip: iplink: Convert to use parse_on_off()ip/ | +17 | 0 replies | |
| 4/7 | ip: iplink_bridge_slave: Port over to parse_on_off()ip/ | +4 | 0 replies | |
| 5/7 | ip: iplink_bridge_slave: Convert to use print_on_off()ip/ | +13 | 0 replies | |
| 6/7 | ip: ipnetconf: Convert to use print_on_off()ip/ | +11 | 0 replies | |
| 7/7 | ip: iptuntap: Convert to use print_on_off()ip/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iproute2-next 0/7] Convert a number of use-cases to parse_on_off(), print_on_off()
Two helpers, parse_on_off() and print_on_off(), have been recently added to lib/utils.c. Convert a number of instances of the same effective behavior to calls to these helpers.
Petr Machata (7):
bridge: link: Port over to parse_on_off()
bridge: link: Convert to use print_on_off()
ip: iplink: Convert to use parse_on_off()
ip: iplink_bridge_slave: Port over to parse_on_off()
ip: iplink_bridge_slave: Convert to use print_on_off()
ip: ipnetconf: Convert to use print_on_off()
ip: iptuntap: Convert to use print_on_off()
bridge/link.c | 135 ++++++++++++++++++--------------------- ip/iplink.c | 47 +++++--------- ip/iplink_bridge_slave.c | 46 +++++-------- ip/ipnetconf.c | 28 ++++---- ip/iptuntap.c | 18 ++---- 5 files changed, 112 insertions(+), 162 deletions(-)
Signature · 1 line
2.25.1