[PATCH 01/10] docs: xforms_lists: support __nonnull_args()
From: Dmitry Ilvokhin
Date: Wed Oct 28 2026 - 04:24:23 EST
Avoid kernel-doc warnings by supporting __nonnull_args()
as a function transform.
This is a preparatory change for the treewide migration from
__attribute__((nonnull)) to __nonnull_args() macro.
Signed-off-by: Dmitry Ilvokhin <d@xxxxxxxxxxxx>
---
tools/lib/python/kdoc/xforms_lists.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/lib/python/kdoc/xforms_lists.py b/tools/lib/python/kdoc/xforms_lists.py
index 320f977c5bac..a8c47ede8637 100644
--- a/tools/lib/python/kdoc/xforms_lists.py
+++ b/tools/lib/python/kdoc/xforms_lists.py
@@ -108,6 +108,7 @@ class CTransforms:
(CMatch("__attribute__"), ""),
(CMatch("STATIC_IFN_KUNIT"), ""),
(CMatch("INLINE_IFN_KUNIT"), ""),
+ (CMatch("__nonnull_args"), ""),
#
# HACK: this is similar to process_export() hack. It is meant to
--
2.53.0-Meta