[PATCH] partitions: aix: fix kernel-doc
From: Manuel Ebner
Date: Wed Oct 21 2026 - 07:09:21 EST
Add ':' to fix:
$ ./scripts/kernel-doc --none block/partitions/aix.c
Warning: block/partitions/aix.c:80 function parameter 'state' not described in 'read_lba'
Warning: block/partitions/aix.c:80 function parameter 'lba' not described in 'read_lba'
Warning: block/partitions/aix.c:80 function parameter 'buffer' not described in 'read_lba'
Warning: block/partitions/aix.c:80 function parameter 'count' not described in 'read_lba'
Warning: block/partitions/aix.c:113 function parameter 'state' not described in 'alloc_pvd'
Warning: block/partitions/aix.c:113 function parameter 'lba' not described in 'alloc_pvd'
Warning: block/partitions/aix.c:138 function parameter 'state' not described in 'alloc_lvn'
Warning: block/partitions/aix.c:138 function parameter 'lba' not described in 'alloc_lvn'
Signed-off-by: Manuel Ebner <manuelebnerli@xxxxxxxxxxx>
---
block/partitions/aix.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/block/partitions/aix.c b/block/partitions/aix.c
index 689837deb..adea48f4a 100644
--- a/block/partitions/aix.c
+++ b/block/partitions/aix.c
@@ -68,10 +68,10 @@ struct pvd {
/**
* read_lba(): Read bytes from disk, starting at given LBA
- * @state
- * @lba
- * @buffer
- * @count
+ * @state:
+ * @lba:
+ * @buffer:
+ * @count:
*
* Description: Reads @count bytes from @state->disk into @buffer.
* Returns number of bytes read on success, 0 on error.
@@ -103,8 +103,8 @@ static size_t read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer,
/**
* alloc_pvd(): reads physical volume descriptor
- * @state
- * @lba
+ * @state:
+ * @lba:
*
* Description: Returns pvd on success, NULL on error.
* Allocates space for pvd and fill it with disk blocks at @lba
@@ -128,8 +128,8 @@ static struct pvd *alloc_pvd(struct parsed_partitions *state, u32 lba)
/**
* alloc_lvn(): reads logical volume names
- * @state
- * @lba
+ * @state:
+ * @lba:
*
* Description: Returns lvn on success, NULL on error.
* Allocates space for lvn and fill it with disk blocks at @lba
--
2.55.0