ynl-gen: update check format
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tools: ynl-gen: use correct len for string and binaryDocumentation/ Documentation/ Documentation/ +3 more | +33 | 4 replies | |
| 2/3 | tools: ynl-gen: support using defines in checksDocumentation/ Documentation/ Documentation/ +2 more | +11 | 3 replies | |
| 3/3 | netlink: specs: use exact-len for IPv6 addrDocumentation/ Documentation/ | +4 | 4 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Davide Caratti | Jakub Kicinski |
|---|---|---|
| 1/3 | ||
| 2/3 | R-b | |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] ynl-gen: update check format
Hi Jakub,
Looks support defines in len check is not as complex as I thought :)
The first patch update the len checks. Add len part, and correct the usage of min, max, exact len.
The second patch add the support of using defines instead of hard code only. The third patch fix the IPv6 addr len definition.
BTW, I'm not sure whether the 1st and 3rd patches should be fixes or not. Please tell me if I should update.
Hangbin Liu (3):
tools: ynl-gen: use correct len for string and binary
tools: ynl-gen: support using defines in checks
netlink: specs: use exact-len for IPv6 addr
Documentation/netlink/genetlink-c.yaml | 9 ++++-- Documentation/netlink/genetlink-legacy.yaml | 9 ++++-- Documentation/netlink/genetlink.yaml | 9 ++++-- Documentation/netlink/netlink-raw.yaml | 9 ++++-- Documentation/netlink/specs/fou.yaml | 4 +-- Documentation/netlink/specs/mptcp.yaml | 4 +-- include/net/netlink.h | 1 + tools/net/ynl/ynl-gen-c.py | 32 ++++++++++++--------- 8 files changed, 48 insertions(+), 29 deletions(-)
Signature · 1 line
2.43.0