ethool: make --json reliable
Status from this message: This series was applied to ethtool/ethtool.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ethtool: remove questionable gotoethtool.c | +6 | 0 replies | |
| 2/3 | ethtool: use dummy args[] entry for no-args caseethtool.c | +14 | 3 replies | |
| 3/3 | ethtool: return error if command does not support --jsonethtool.c | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH ethtool 0/3] ethool: make --json reliable
This series aims to make --json fail if the output is not JSON formatted. This should make writing scripts around ethtool less error prone and give us stronger signal when produced JSON is invalid.
Jakub Kicinski (3):
ethtool: remove questionable goto
ethtool: use dummy args[] entry for no-args case
ethtool: return error if command does not support --json
ethtool.c | 52 ++++++++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 24 deletions(-)
Signature · 1 line
2.31.1