scripts: check-sysctl-docs: adapt to new API
Get series with b4
b4 am [email protected] change-id 20231220-sysctl-check-8802651d945dVersions newest first
- v3 Latest3 patches 3 repliesIn review
- v21 patch 3 repliesSuperseded
- v11 patch 3 repliesSuperseded
Changes in v3 from the cover letter
- Handle per-namespace tables
- Link to v2: https://lore.kernel.org/r/[email protected]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | scripts: check-sysctl-docs: adapt to new APIscripts/ | +12 | 0 replies | |
| 2/3 | ipc: remove linebreaks from arguments of __register_sysctl_tableipc/ | +1 | 1 reply | |
| 3/3 | scripts: check-sysctl-docs: handle per-namespace sysctlsscripts/ | +20 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Joel Granados |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] scripts: check-sysctl-docs: adapt to new API
The script expects the old sysctl_register_paths() API which was removed some time ago. Adapt it to work with the new sysctl_register()/sysctl_register_sz()/sysctl_register_init() APIs.
Per-namespace tables via __register_sysctl_table() are also handled.
Note that the script is already prepared for a potential constification of the ctl_table structs.
---
Changes in v3:
- Handle per-namespace tables
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Remove unused global variable "paths"
- Remove docs for deleted variables "children" and "paths"
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Thomas Weißschuh (3):
scripts: check-sysctl-docs: adapt to new API
ipc: remove linebreaks from arguments of __register_sysctl_table
scripts: check-sysctl-docs: handle per-namespace sysctls
ipc/ipc_sysctl.c | 3 +-- scripts/check-sysctl-docs | 65 +++++++++++++++++++++++------------------------ 2 files changed, 33 insertions(+), 35 deletions(-)
---
base-commit: b401b621758e46812da61fa58a67c3fd8d91de0d
change-id: 20231220-sysctl-check-8802651d945d
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>