[PATCH 5/6] kho: fix kernel-doc return for kho_alloc_preserve()
From: Pratyush Yadav
Date: Fri Nov 27 2026 - 07:26:13 EST
From: "Pratyush Yadav (Google)" <pratyush@xxxxxxxxxx>
kernel-doc complains:
No description found for return value of 'kho_alloc_preserve'
It does not recognize '@return'. Use 'Return' instead.
Signed-off-by: Pratyush Yadav (Google) <pratyush@xxxxxxxxxx>
---
kernel/liveupdate/kho_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/liveupdate/kho_core.c b/kernel/liveupdate/kho_core.c
index 3f9d408b9d29..580cdb3ea070 100644
--- a/kernel/liveupdate/kho_core.c
+++ b/kernel/liveupdate/kho_core.c
@@ -1584,7 +1584,7 @@ EXPORT_SYMBOL_GPL(kho_restore_vmalloc);
* Note: The actual allocated size will be rounded up to the nearest
* power-of-two page boundary.
*
- * @return A virtual pointer to the allocated and preserved memory on success,
+ * Return: A virtual pointer to the allocated and preserved memory on success,
* or an ERR_PTR() encoded error on failure.
*/
void *kho_alloc_preserve(size_t size)
--
2.56.1.839.g22a8290db9-goog