mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Manuel Ebner <manuelebnerli@mailbox.org>
To: Jens Axboe <axboe@kernel.dk>
Cc: Manuel Ebner <manuelebnerli@mailbox.org>,
	linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] partitions: aix: fix kernel-doc
Date: Wed, 21 Oct 2026 13:07:10 +0200	[thread overview]
Message-ID: <20261021110710.1721073-2-manuelebnerli@mailbox.org> (raw)

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@mailbox.org>
---
 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


             reply	other threads:[~2026-10-21 11:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 11:07 Manuel Ebner [this message]
2026-11-03 10:00 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261021110710.1721073-2-manuelebnerli@mailbox.org \
    --to=manuelebnerli@mailbox.org \
    --cc=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®