From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Richard Weinberger <richard@nod.at>,
Zhihao Cheng <chengzhihao1@huawei.com>,
linux-mtd@lists.infradead.org
Subject: [PATCH 1/3] ubifs: debug.h: fix kernel-doc struct prototypes
Date: Wed, 29 Jul 2026 10:20:42 -0700 [thread overview]
Message-ID: <20260729172044.1793865-2-rdunlap@infradead.org> (raw)
In-Reply-To: <20260729172044.1793865-1-rdunlap@infradead.org>
Use the "struct" keyword to describe structs in kernel-doc format.
This avoids kernel-doc warnings:
Warning: fs/ubifs/debug.h:75 cannot understand function prototype: 'struct ubifs_debug_info'
Warning: fs/ubifs/debug.h:130 cannot understand function prototype: 'struct ubifs_global_debug_info'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Richard Weinberger <richard@nod.at>
Cc: Zhihao Cheng <chengzhihao1@huawei.com>
Cc: linux-mtd@lists.infradead.org
fs/ubifs/debug.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-next-20260729.orig/fs/ubifs/debug.h
+++ linux-next-20260729/fs/ubifs/debug.h
@@ -26,7 +26,7 @@ typedef int (*dbg_znode_callback)(struct
#define UBIFS_DFS_DIR_LEN (3 + 1 + 2 + 3 + 1)
/**
- * ubifs_debug_info - per-FS debugging information.
+ * struct ubifs_debug_info - per-FS debugging information.
* @old_zroot: old index root - used by 'dbg_check_old_index()'
* @old_zroot_level: old index root level - used by 'dbg_check_old_index()'
* @old_zroot_sqnum: old index root sqnum - used by 'dbg_check_old_index()'
@@ -119,7 +119,7 @@ struct ubifs_debug_info {
};
/**
- * ubifs_global_debug_info - global (not per-FS) UBIFS debugging information.
+ * struct ubifs_global_debug_info - global (not per-FS) UBIFS debugging information.
*
* @chk_gen: if general extra checks are enabled
* @chk_index: if index xtra checks are enabled
next prev parent reply other threads:[~2026-07-29 17:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-29 17:20 [PATCH] ubifs: headers: clean up some kernel-doc comments Randy Dunlap
2026-07-29 17:20 ` Randy Dunlap [this message]
2026-07-29 17:20 ` [PATCH 2/3] ubifs: key.h: use correct function parameter name Randy Dunlap
2026-07-30 1:20 ` Zhihao Cheng
2026-07-29 17:20 ` [PATCH 3/3] ubifs: ubifs.h: clean up kernel-doc comments Randy Dunlap
2026-07-30 1:25 ` Zhihao Cheng
2026-08-11 21:05 ` [PATCH] ubifs: headers: clean up some " Richard Weinberger (sigma star gmbh)
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=20260729172044.1793865-2-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=chengzhihao1@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/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®