[LTP] [PATCH v3 0/3] Complete the documentation adding missing headers
Andrea Cervesato
andrea.cervesato@suse.de
Tue Jun 2 17:49:25 CEST 2026
This conversion and fix has been done with Claude Code.
Complete this review before adding these changes:
https://patchwork.ozlabs.org/project/ltp/list/?series=506891
- add missing headers
- convert documentation from doxygen to kernel-doc
- add SAFE_* macro section
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v3:
- PATCH 3: add the missing blank line between tst_mount_has_opt() and
the tst_is_mounted() kernel-doc block in tst_device.h
- PATCH 3: restore the "Requires <string.h>" note (for strlen()) in the
TST_KCONFIG_INIT() kernel-doc comment in tst_kconfig.h
- Link to v2: https://lore.kernel.org/r/20260602-doc_add_missing_headers-v2-0-9ccd988c093d@suse.com
Changes in v2:
- PATCH 1: drop the incorrect claim about fixing the tse_numa.h
kernel-doc reference (it was already correct) and correct the header
count from 12 to 10 (tse_numa.h and tse_swap.h were already present)
- PATCH 1: remove leftover Doxygen directives (@param, @return,
@relates, @sa) in tst_fuzzy_sync.h that the new kernel-doc comments
superseded
- PATCH 2: drop the already-applied field-rename claims (.runtime,
.hugepages, dev_* moves) from the commit message and correct the
added-field count from 10 to 8
- PATCH 3: fix the copyright year (2025 -> 2026), remove the duplicate
SAFE_MMAP entry from the core macros section, and correct the macro
count from 217 to 216
- Link to v1: https://lore.kernel.org/r/20260601-doc_add_missing_headers-v1-0-6f1ee31945df@suse.com
---
Andrea Cervesato (3):
doc: Add missing API references to api_c_tests.rst
doc: Complete struct tst_test table and shell API docs
doc: Add SAFE_* macros reference page
doc/developers/api_c_tests.rst | 71 +++++--
doc/developers/api_safe_macros.rst | 382 +++++++++++++++++++++++++++++++++++++
doc/developers/api_shell_tests.rst | 163 ++++++++++++++++
doc/developers/writing_tests.rst | 28 ++-
doc/index.rst | 4 +
include/tse_uinput.h | 30 +--
include/tst_clone.h | 23 ++-
include/tst_device.h | 166 ++++++++++------
include/tst_fuzzy_sync.h | 231 +++++++++++-----------
include/tst_hugepage.h | 35 +++-
include/tst_kconfig.h | 78 ++++----
include/tst_taint.h | 32 ++--
12 files changed, 952 insertions(+), 291 deletions(-)
---
base-commit: fb3451954e9a16078d184e56a3b0b165fd95b24d
change-id: 20260601-doc_add_missing_headers-ca51d98d32ac
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list